home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 001a / dsz1214.zip / DSZ.DOC < prev    next >
Text File  |  1991-12-14  |  144KB  |  4,131 lines

  1.  
  2.  
  3.  
  4.  
  5.                                      CONTENTS
  6.  
  7.  
  8.       1.  ZMODEM Features at a Glance....................................   1
  9.  
  10.       2.  TUTORIAL INTRODUCTION..........................................   3
  11.  
  12.       3.  CALLING DSZ FROM COMM PROGRAMS.................................   4
  13.           3.1    USE AN INTERFACE PROGRAM?...............................   4
  14.           3.2    Ms-Kermit 3.00..........................................   4
  15.           3.3    PROCOMM PLUS............................................   4
  16.           3.4    Qmodem..................................................   6
  17.           3.5    TELIX...................................................   7
  18.           3.6    BULLETIN BOARDS.........................................   9
  19.  
  20.       4.  DESCRIPTION....................................................  10
  21.  
  22.       5.  COMMANDS.......................................................  12
  23.           5.1    List of Commands........................................  12
  24.           5.2    Interrupt Keys..........................................  18
  25.  
  26.       6.  NUMERIC PARAMETERS.............................................  19
  27.  
  28.       7.  ENVIRONMENT VARIABLES..........................................  23
  29.  
  30.       8.  EXIT STATUS....................................................  27
  31.  
  32.       9.  EXAMPLES.......................................................  28
  33.  
  34.      10.  BACKGROUND OPERATION...........................................  29
  35.           10.1   Windows 3...............................................  30
  36.           10.2   VM......................................................  30
  37.  
  38.      11.  FLOW CONTROL...................................................  31
  39.  
  40.      12.  ERROR MESSAGES.................................................  32
  41.           12.1   Got ZRPOS...............................................  33
  42.           12.2   Subpacket too Long......................................  34
  43.           12.3   Bad CRC.................................................  34
  44.           12.4   Garbled Data Subpacket..................................  34
  45.           12.5   Serial Input Error: Line Status Register xx ............  35
  46.           12.6   No Carrier Detect.......................................  36
  47.           12.7   Port %d (%X) defective..................................  37
  48.           12.8   COMMAND NOT FOUND.......................................  37
  49.           12.9   Out of Environment......................................  37
  50.  
  51.      13.  SLOW TRANSFERS.................................................  38
  52.  
  53.      14.  IN CASE OF DIFFICULTY..........................................  39
  54.           14.1   LOCKUPS.................................................  39
  55.                  14.1.1  Insufficient Memory  39
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.                  14.1.2  Environment TOO BIG  39
  65.                  14.1.3  Bad COM Port Configuration  39
  66.                  14.1.4  LAN Manager Conflicts  40
  67.           14.2   Incorrect Batch Files...................................  41
  68.           14.3   Cheap Internal Modems...................................  41
  69.           14.4   Commands Entered in Upper Case..........................  41
  70.           14.5   No Carrier Detect.......................................  41
  71.           14.6   DOS 3.x.................................................  42
  72.           14.7   Perstor Controllers.....................................  42
  73.           14.8   IBM PS/2 Model 50Z......................................  42
  74.           14.9   Brain Damaged UARTS.....................................  42
  75.                  14.9.1  Everex Internal Modems  44
  76.           14.10  Weird Iron..............................................  44
  77.           14.11  PKARC 3.6...............................................  44
  78.           14.12  Will the real YMODEM please stand up?...................  45
  79.           14.13  286 and 386 Extended Memory.............................  45
  80.           14.14  Disk Caches.............................................  45
  81.  
  82.      15.  ASSOCIATED DOCUMENTS...........................................  46
  83.  
  84.      16.  FILES..........................................................  47
  85.  
  86.      17.  Other Omen Technology Products.................................  49
  87.           17.1   Professional-YAM COMMS TOOLS............................  49
  88.           17.2   ZCOMM: Industrial Strength COMMS Shareware..............  49
  89.           17.3   ZMODEM Developer's Collection...........................  49
  90.  
  91.      18.  FAIR PLAY......................................................  50
  92.           18.1   Sharing DSZ Files.......................................  51
  93.           18.2   REGISTRATION............................................  52
  94.           18.3   Files on Registration Disk..............................  54
  95.           18.4   Bulletin Board Registration.............................  55
  96.  
  97.      19.  CHANGES........................................................  57
  98.  
  99.      20.  ACKNOWLEDGEMENTS...............................................  67
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.                                   Chuck Forsberg
  125.  
  126.                                Omen Technology Inc
  127.  
  128.  
  129.                                      ABSTRACT
  130.  
  131.  
  132.  
  133.                    ZMODEM-90(TM) - Not just another XMODEM hack
  134.  
  135.      DSZ is one of many available programs that implement the ZMODEM file
  136.      transfer protocol.  DSZ features the ZMODEM-90(TM) extensions including
  137.      ZMODEM compression and MobyTurbo(TM) accelerator.
  138.  
  139.      DSZ's ZMODEM provides advanced file management features including two
  140.      levels of Intelligent Crash Recovery(TM), and flexible control of
  141.      selective file transfers.
  142.  
  143.      The ZMODEM file transfer protocol provides reliable file and command
  144.      transfers with complete END-TO-END data integrity between application
  145.      programs.  DSZ's 32 bit CRC protects against errors that sneak by "error
  146.      free" modems and even the most advanced networks.
  147.  
  148.      ZMODEM safeguards all data and supervisory information with effective
  149.      error detection.  (XMODEM and many recently introduced protocols do not
  150.      protect vital supervisory data.)
  151.  
  152.      ZMODEM rapidly transfers files, particularly with modern modems,
  153.      timesharing systems, satellite relays, and packet switched networks.
  154.      ZMODEM's streaming operation eliminates delays caused by
  155.      Kermit/XMODEM/YMODEM/JMODEM block acknowledgements.  ZMODEM eliminates
  156.      traditional protocols' PACKET LENGTH compromises between transfer
  157.      efficiency and error recovery; ZMODEM's packet length is the entire
  158.      file.
  159.  
  160.      User Friendliness is an important ZMODEM feature.  ZMODEM
  161.      AutoDownload(TM) (Automatic file Download without user intervention)
  162.      provides a level of convenience unimaginable to users of traditional
  163.      protocols.
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.        DSZ - a ZMODEM-90(TM), True YMODEM(TM), XMODEM File Transfer Program
  179.  
  180.  
  181.                                Omen Technology Inc
  182.  
  183.  
  184.      1.  ZMODEM Features at a Glance
  185.  
  186.      _______________________________________________________________________
  187.      |   Feature              | ProCm | RZSZ | DSZ  | GSZ | ZCOMM | Pro-YAM |
  188.      |________________________|_______|______|______|_____|_______|_________|
  189.      |Security Verification   | no    | no   | no   | no  | no    | YES     |
  190.      |Cybnertic Data Recovery | no    | no   | YES  | YES | YES   | YES     |
  191.      |                        |       |      |      |     |       |         |
  192.      |Command Download        | no    | YES  | no   | no  | YES   | YES     |
  193.      |                        |       |      |      |     |       |         |
  194.      |Update Directory Tree   | no    | YES* | no   | no  | YES   | YES     |
  195.      | Create Directories     | no    | YES* | no   | no  | YES   | YES     |
  196.      | Newer files Only       | no    | YES  | YES  | YES | YES   | YES     |
  197.      | Protect files          | ?     | YES  | YES  | YES | YES   | YES     |
  198.      | Common files Only      | no    | YES  | YES  | YES | YES   | YES     |
  199.      |                        |       |      |      |     |       |         |
  200.      |Collision Aviodance     | ?     | no   | YES* | YES | YES   | YES     |
  201.      |                        |       |      |      |     |       |         |
  202.      |Crash Recoverey         | YES   | YES  | YES  | YES | YES   | YES     |
  203.      | Verified Accuracy      | no    | SZ   | YES  | YES | YES   | YES     |
  204.      |                        |       |      |      |     |       |         |
  205.      |ZMODEM-90(TM)           | no    | YES  | YES  | YES | YES   | YES     |
  206.      | Compression            | no    | YES  | YES  | YES | YES   | YES     |
  207.      | MobyTurbo(TM)          | no    | YES* | YES  | YES | YES   | YES     |
  208.      | 7-bit Paths OK         | no    | YES* | YES* | YES | YES   | YES     |
  209.      |                        |       |      |      |     |       |         |
  210.      |OPERATING SYSTEMS       |       |      |      |     |       |         |
  211.      | Text Translation       | no    | YES  | YES  | YES | YES   | YES     |
  212.      | Record Format Support  | no    | YES  | YES  | YES | YES   | YES     |
  213.      | DOS Shared Files       | ?     | -    | YES* | YES | no    | no      |
  214.      | OS/2                   | no    | no   | no   | no  | no    | YES     |
  215.      | VMS                    | no    | YES  | no   | no  | no    | YES     |
  216.      | Unix/Xenix             | no    | YES  | no   | no  | no    | YES     |
  217.      |                        |       |      |      |     |       |         |
  218.      |True YMODEM(TM)         | no    | YES  | YES  | YES | YES   | YES     |
  219.      |Demand Upgrade(TM)      | no    | YES  | YES  | YES | YES   | YES     |
  220.      |File Transfer Display   | YES   | no   | no   | YES | YES   | YES     |
  221.      | TOTAL File Xfer Data   | no    | YES  | YES  | YES | YES   | YES     |
  222.      |________________________|_______|______|______|_____|_______|_________|
  223.  
  224.      ProCm = ProComm Plus
  225.      * Not available on all flavors or platforms
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235.  
  236.  
  237.      Chapter 1 Pg 2        DSZ Reference Rev Dec-14-91       Typeset 12-14-91
  238.  
  239.  
  240.      *************************************************************************
  241.                            DSZ registration is special.
  242.      With most programs, registration only applies only to today's version.
  243.      Not DSZ!
  244.  
  245.      DSZ registration bypasses the shareware announcement and unlocks
  246.      advanced features in all future versions of DSZ.  You don't have to pay
  247.      and pay again for new DSZ versions.  Omen's Demand Upgrade(TM)
  248.      technology allows you to download and activate future DSZ versions
  249.      without further registration!
  250.      *************************************************************************
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.  
  269.  
  270.  
  271.  
  272.  
  273.  
  274.  
  275.  
  276.  
  277.  
  278.  
  279.  
  280.  
  281.  
  282.  
  283.  
  284.  
  285.  
  286.  
  287.  
  288.  
  289.  
  290.  
  291.  
  292.  
  293.  
  294.  
  295.  
  296.      Chapter 2 Pg 3        DSZ Reference Rev Dec-14-91       Typeset 12-14-91
  297.  
  298.  
  299.      2.  TUTORIAL INTRODUCTION
  300.  
  301.      If you are just starting out with DSZ, or if you have difficulty getting
  302.      DSZ to work, please follow the procedure given below.
  303.  
  304.      Do not run any TSR or other COMM program.  This includes LAN programs.
  305.      Reboot a clean DOS if necessary.
  306.  
  307.      Start with the following command given directly from the DOS prompt:
  308.  
  309.                              dsz port 1 speed 2400 d t
  310.  
  311.      Type it exactly as it appears above; do NOT use upper case.
  312.  
  313.      (Change the port number and speed as necessary.  Use only COM1 or COM2
  314.      for testing.)
  315.  
  316.      This connects you to the modem.  Dial a bulletin board by typing AT
  317.      commands to the modem ("ATDP621-3746 <enter>")[1] to make it dial the
  318.      BBS.  Log in as usual.  Then, request a ZMODEM download of a file you
  319.      don't already have.  The file will download automatically, you don't
  320.      have to do anything.  This procedure verifies the correct operation of
  321.      DSZ.
  322.  
  323.      Next you might try calling the BBS using a higher "baud rate".  This
  324.      requires setting a higher speed with the "speed" command.  A "handshake
  325.      on" command may be necessary along with commands to the modem to enable
  326.      hardware handshking in the CTS and RTS leads.
  327.  
  328.      Perhaps you got some error messages before or during the download.  The
  329.      "ERROR MESSAGES" chapter explains all the commonly seen error messages
  330.      and suggests solutions to the underlying problems.
  331.  
  332.  
  333.  
  334.  
  335.  
  336.  
  337.  
  338.  
  339.  
  340.  
  341.  
  342.  
  343.  
  344.  
  345.      __________
  346.  
  347.       1. If your modem has a non standard setting the ATDT621-3746 command
  348.          you type to the modem may not echo on the screen.
  349.  
  350.  
  351.  
  352.  
  353.  
  354.  
  355.      Chapter 3 Pg 4        DSZ Reference Rev Dec-14-91       Typeset 12-14-91
  356.  
  357.  
  358.      3.  CALLING DSZ FROM COMM PROGRAMS
  359.  
  360.      It may be necessary to add the DOS command: SET COMSPEC=C:\COMMAND.COM
  361.      (change as needed) to your AUTOEXEC.BAT file to allow programs to call
  362.      DSZ.
  363.  
  364.      Note: NO SPACES in the SET command!
  365.  
  366.      3.1  USE AN INTERFACE PROGRAM?
  367.  
  368.      A number of third party programs have been developed to provide a
  369.      congenial interface to DSZ if you have enough memory to spare.  The
  370.      XFER, POE, PCALL, DSZ_ZAP, and PROZ programs have been popular in
  371.      interfacing DSZ to ProComm's editor gateway.  Many of these support GSZ
  372.      as well.  These programs are available on many bulletin boards.
  373.  
  374.      Hint: the DOS PATH environment variable must include ProComm's directory
  375.      to allow POE to locate all the POE files,.  The POE files should be
  376.      stored in the ProComm directory.  Setting the "PROCOMM" environment
  377.      variable is insufficient.
  378.  
  379.  
  380.      Calling DSZ with these programs requires more memory than calling DSZ
  381.      directly.
  382.  
  383.      3.2  Ms-Kermit 3.00
  384.  
  385.      The "push" command (^[p) in MS-Kermit 3.00 sends an XOFF character to
  386.      the modem before calling DOS.
  387.  
  388.      Using this to activate DSZ's term mode with a "dsz t" command causes
  389.      most remote hosts to stop.  The remote host can be un-wedged by
  390.      keyboarding XON (Ctrl-Q) from DSZ's terminal mode.
  391.  
  392.      Add these macros to your MSKERMIT.INI file.  Courtesy Keith Petersen
  393.      W8SDZ
  394.  
  395.      define sx run dsz F port 2 sx 1 2,define 1,define 2,
  396.      define rz run dsz F ha on port 2 pY129 rz -r
  397.      define sz run dsz F ha bo port 2 pY129 pB4096 sz 1 2,define 1,define 2,
  398.      define t run dsz F ha on port 2 pY129 t -r
  399.  
  400.  
  401.      3.3  PROCOMM PLUS
  402.  
  403.      It's easy to add DSZ to ProComm Plus 2.X.
  404.  
  405.      Datastorm has not licensed ZMODEM-90(TM) technology despite allegations
  406.      that DSZ is now "built in" to ProComm Plus version 2.  Many users of
  407.      ProComm Plus version 2.x use DSZ to get MobyTurbo(TM), Intelligent Crash
  408.      Recovery(TM), and other ZMODEM-90(TM) features.
  409.  
  410.  
  411.  
  412.  
  413.  
  414.      Chapter 3 Pg 5        DSZ Reference Rev Dec-14-91       Typeset 12-14-91
  415.  
  416.  
  417.      Make sure the DSZ program is in your search path.  If you don't see DSZ
  418.      announce itself when called from ProComm, DSZ is not in your search
  419.      path.
  420.  
  421.      Here are some handy settings for ProComm Plus.
  422.  
  423.      First, you may need to set the DOS environment before running ProComm.
  424.      Give these commands to DOS before running ProComm Plus.  (These lines
  425.      may be added to your AUTOEXEC.BAT file.)
  426.  
  427.      Note: NO SPACES in the SET command!
  428.      SET DSZPORT=2                   (Only needed for COM2)
  429.      SET DSZLOG=DSZ.LOG      (Only if you wish a log file)
  430.  
  431.      Then set ProComm's external protocol strings.  From terminal mode hit
  432.      ALT-S, then select the PROTOCOL OPTIONS menu item.
  433.  
  434.      From that menu select EXTERNAL PROTOCOL OPTIONS.  Then set ProComm's
  435.      external protocol strings to:
  436.      A- External protocol 1 upload filename:  ZMODEMU
  437.      B- External protocol 1 download filename: ZMODEMD
  438.      C- External protocol 2 download filename: ZMODEMMD
  439.  
  440.      The following batch files are included in the DSZ zipfile:
  441.      ZMODEMU.BAT (contains:  DSZ sz %1 %2 %3 %4 %5 %6 %7 %8 %9)
  442.      ZMODEMD.BAT (contains:   DSZ rz)
  443.      ZMODEMDR.BAT (contains:   DSZ rz -r)
  444.      ZMODEMMD.BAT (contains:   DSZ rz -mr)
  445.      ZMODEMAD.BAT (contains: DSZ t)
  446.  
  447.      !!!!IMPORTANT USE lower case (small letters) EXCEPT WHERE SHOWN!!!!
  448.  
  449.  
  450.      If using ProComm Plus 2.x, select the ZMODEM PROTOCOL OPTIONS menu and
  451.      turn off Auto downloading.
  452.  
  453.  
  454.      When sending (uploading) files with ZMODEMU.BAT give the ProComm window
  455.      the full pathname (c:/foo/bar/file.ext) for *each* file not residing in
  456.      the current directory.
  457.  
  458.      When downloading files with one of the other batch files shown above,
  459.      Procomm will also prompt for parameters; just hit ENTER.  Or, you can
  460.      enter options such as "-mr" if they are't included in the batch file
  461.      itself.
  462.  
  463.      Once you've got the hang of things the "ProComm way", try the "dsz t"
  464.      command described above to give you automatic ZMODEM-90(TM) downloads
  465.      (Look Ma, no keystrokes!!!)..
  466.  
  467.      You can also set the editor hot key (ALT-A) or view program hot key
  468.  
  469.  
  470.  
  471.  
  472.  
  473.      Chapter 3 Pg 6        DSZ Reference Rev Dec-14-91       Typeset 12-14-91
  474.  
  475.  
  476.      (ALT-V) by using the ALT-S "FILE/PATH OPTIONS" menu.  The strings for
  477.      these keys are long enough to store an entire DSZ command line without
  478.      need for a batch file.
  479.  
  480.      COM3 and COM4 on Procomm Plus are non standard; in case of difficulty
  481.      use COM1 or COM2 or use the portx command.
  482.  
  483.      DSZ may not operate properly when called from ProComm if ProComm has
  484.      files open at the time.
  485.  
  486.      A number of reports have been received of problems running DSZ from
  487.      ProComm Plus because of insufficient memory.  Please refer to the
  488.      subchapter on LOCKUPS.
  489.  
  490.      When running under ProComm's Host mode, failure to use the DSZ CON
  491.      command may cause ProComm to interfere with file transfers or lock up
  492.      the computer.
  493.  
  494.      EXAMPLE: DSZ CON sz %1
  495.  
  496.  
  497.      Hint: the DOS PATH environment variable must include ProComm's directory
  498.      to allow POE to locate all the POE files,.  The POE files should be
  499.      stored in the ProComm directory.  Setting the "PROCOMM" environment
  500.      variable is insufficient.
  501.  
  502.  
  503.      3.4  Qmodem
  504.  
  505.      Instability in the Qmodem interface may require changes in the batch
  506.      files shown below, depending on which version of Qmodem is used.
  507.  
  508.      If you define a protocol with 'Z' as its letter, the latest Qmodem will
  509.      detect automatic ZMODEM downloads.  Defining an external 'Z' protocol
  510.      disables Qmodem's internal ZMODEM, allowing DSZ to be called.
  511.  
  512.      The following is based on a message from Mike Cody, sysop of HomePlate
  513.      313-385-9969 3/12/24/96 HST
  514.  
  515.      Go into Qinstall and go to frame 3 Directories. Then select External
  516.      protocols #3 I think. Now you will see a definition area to tell Qmodem
  517.      the Letter,batchfile combo to use.
  518.  
  519.      Now put Z in the letter definition, Zup.bat in the u/l batch zdown.bat
  520.      in the d/l batch, and Y in the batch protocol. Now save it at the menu
  521.      with f10 and S.
  522.  
  523.      Then go to DOS and create the following batch files in your Qmodem
  524.      directory...
  525.  
  526.      zdown.bat: DSZ port %2 speed %1 rz -rr
  527.  
  528.  
  529.  
  530.  
  531.  
  532.      Chapter 3 Pg 7        DSZ Reference Rev Dec-14-91       Typeset 12-14-91
  533.  
  534.  
  535.      zmdown.bat: DSZ port %2 speed %1 rz -mrr      ((FOR MOBYTURBO!!))
  536.  
  537.      zup.bat: DSZ port %2 speed %1 sz %4
  538.  
  539.      !!!!IMPORTANT USE lower case (small letters) EXCEPT WHERE SHOWN!!!!
  540.  
  541.      These are the batch files that will be called by Qmodem.  If you did
  542.      everything right when you hit PGDN or PGUP you will see an external
  543.      protocol called Z) Zmodem in the box. For an easier time do a search for
  544.      either External.arc or maybe the string "Qmodem" in the file database as
  545.      there is a file with several external protocols and batch files
  546.      available in the Mahoney file section (EXEC-PC BBS).
  547.  
  548.      The following batch files for Qmodem are included in the DSZ zipfile:
  549.  
  550.      ZDOWN.BAT contains:     DSZ port %2 speed %1 rz -rr
  551.      ZUP.BAT contains:       DSZ port %2 speed %1 sz %4
  552.  
  553.      !!!!IMPORTANT USE lower case (small letters) EXCEPT WHERE SHOWN!!!!
  554.  
  555.      A variation on the receive batch file:
  556.      c:elecomqmodem\*y.com ha slow est 0 %3 rz -mrr
  557.      A variation on the send batch file:
  558.      c:elecomqmodem\*y.com ha cts est 0 %3 sz %4
  559.  
  560.  
  561.      If Qmodem says "unable to allocate swap space": QMODEM 4.2 will swap all
  562.      but approx. 5K to memory or disk when you shell out to DSZ. Go into
  563.      QINSTALL and make sure that /O /R Optimum Shell and Disk Shell are both
  564.      set to ON.
  565.  
  566.      For older Qmodem versions (before 4.2) change the %4 in upload scripts
  567.      to %3.
  568.  
  569.      3.5  TELIX
  570.  
  571.      Telix has an internal ZMODEM, but some users prefer to use DSZ for
  572.      performance and/or reliability reasons.  Mat Fisher has published a
  573.      Telix script to call DSZ for automatic downloads.
  574.  
  575.      For those of you who use DSZ with Telix, here is a sample script file to use
  576.      instead of batch files:
  577.  
  578.      //////////////////////////////////////////////////////////////////////////
  579.      //Protocol salt file for Telix's external protocols by Matt Fisher
  580.      //Last edited (02/24/90)
  581.      //used for the DSZ ZMODEM protocol.  (It will work for u/ling and d/ling)
  582.      //////////////////////////////////////////////////////////////////////////
  583.  
  584.      str upload[80]  =
  585.         "c:\telix\protocol\DSZ port 1 pW1 pB4096 ha off sz -b -m -rr ";
  586.  
  587.  
  588.  
  589.  
  590.  
  591.      Chapter 3 Pg 8        DSZ Reference Rev Dec-14-91       Typeset 12-14-91
  592.  
  593.  
  594.  
  595.      str download[80]=
  596.         "c:\telix\protocol\DSZ port 1 pW1 pB4096 ha off rz -b -m -rr ";
  597.  
  598.      //////////////////////////////////////////////////////////////////////////
  599.  
  600.      Main ()
  601.      {
  602.       if (_ext_filespec == "")
  603.        { strcat(download,_down_dir); dos(download,0); }
  604.       else
  605.        { strcat(upload,_up_dir); strcat(upload,_ext_filespec);  dos(upload,0); }
  606.      alarm(1);
  607.      }
  608.      //////////////////////// THE END /////////////////////////////////////////
  609.  
  610.      Simple but effective...
  611.      --- TAGMAIL v2.20
  612.       * Origin: CRIMP/John Galt [Node 1] (1:120/144)
  613.      INTERNET: Matt.Fisher@f144.n120.z1.FIDONET.ORG
  614.  
  615.      NOTE: The DSZ command strings given above are quite unusual.  Instead of
  616.      the  "pW1  pB4096 ha off" one would be more likely to use "ha on" or "ha
  617.      sw" depending on the modem's flow control settings.
  618.  
  619.  
  620.         From : Bill Logan
  621.      Subject : Help With Gsz For Telix
  622.  
  623.      I test and use a varity of terminal programs for individuals. One of which is
  624.      telix. I found the script language to be less than user friendly and installed
  625.      GSZ via batch files and as an external protocol. Here are the batch files:
  626.  
  627.      ZMUP.BAT
  628.  
  629.      GSZ pV1 port %2 speed %1 sz -mr %3
  630.  
  631.      ZMDN.BAT
  632.  
  633.      GSZ pV1 port %2 speed %1 rz -mrr %3
  634.  
  635.      Then go to ALT O in telix and insert those batch names in the protocols.
  636.  
  637.      They worked fine for me.
  638.  
  639.      Bill
  640.  
  641.      ---
  642.       * Origin: PCConsultingAgencyII {=Telecom Node=} (1:300/22)
  643.  
  644.  
  645.  
  646.  
  647.  
  648.  
  649.  
  650.      Chapter 3 Pg 9        DSZ Reference Rev Dec-14-91       Typeset 12-14-91
  651.  
  652.  
  653.      3.6  BULLETIN BOARDS
  654.  
  655.      Note to the wise BBS operator: be sure you understand the DSZ restrict
  656.      command, how and WHY to use it!
  657.  
  658.      When installing DSZ on a bulletin board or host system, be sure to check
  659.      for proper operation when the caller hangs up while a file is being sent
  660.      or received.
  661.  
  662.      Currently, DSZ.EXE does not support file sharing (shared read access on
  663.      files sent by  dsz).
  664.  
  665.      Some bulletin boards do not call DSZ to send a file until they have
  666.      verified the file's presence by actually opening the file.  If this
  667.      checking is done in DOS's default exclusive open mode, dsz's file
  668.      sharing will be defeated.
  669.  
  670.  
  671.  
  672.  
  673.  
  674.  
  675.  
  676.  
  677.  
  678.  
  679.  
  680.  
  681.  
  682.  
  683.  
  684.  
  685.  
  686.  
  687.  
  688.  
  689.  
  690.  
  691.  
  692.  
  693.  
  694.  
  695.  
  696.  
  697.  
  698.  
  699.  
  700.  
  701.  
  702.  
  703.  
  704.  
  705.  
  706.  
  707.  
  708.  
  709.      Chapter 4 Pg 10       DSZ Reference Rev Dec-14-91       Typeset 12-14-91
  710.  
  711.  
  712.      4.  DESCRIPTION
  713.  
  714.      DSZ is a "protocol driver" that uses ZMODEM-90(TM), True YMODEM(TM), or
  715.      XMODEM to transfer files over a serial port with a variety of programs.
  716.  
  717.      DSZ has two main commands for ZMODEM transfers: "sz" sends file(s), and
  718.      "rz" receives them.
  719.  
  720.      When calling bulletin boards to download files with ZMODEM you can avoid
  721.      the bother of starting DSZ for each transfer by DSZ's terminal emulator,
  722.      before asking the BBS for the download.
  723.  
  724.                              dsz t
  725.  
  726.      The "t" command allows you to keyboard the file request directly to the
  727.      BBS.  (The "t" stands for "terminal emulation".) Just give the "dsz t"
  728.      command from DOS or your comms program's DOS GATEWAY.  DSZ's ZMODEM
  729.      AutoDownload then receives the file automatically, using the filename
  730.      provided by the BBS, without any wasted keystrokes or delay.  Try it,
  731.      you'll like it!  (The "t" command is described below.)
  732.  
  733.      YMODEM downloads are almost as easy.  Use the "t" command as shown
  734.      above, and hit the F3 key after telling the board to download a file
  735.      with YMODEM.
  736.  
  737.      ZMODEM and True YMODEM(TM) transfers preserve exact file length and
  738.      modification time.
  739.  
  740.      DSZ supports XMODEM-1k (XMODEM with 1024 byte blocks, sometimes
  741.      mislabeled as ymodem) and CRC-16 with the sx -k and rc commands.
  742.  
  743.      DSZ is usually called from a communications or bulletin board program.
  744.  
  745.      DSZ uses its own modem I/O.  The original interrupt vector, UART parity,
  746.      and interrupt configuration are restored on exit.  The original state of
  747.      the 8259 interrupt mask bit for this vector is also restored on exit.
  748.  
  749.      DSZ uses DOS standard output (stdout) for messages.  DSZ never writes
  750.      directly to the screen.  DSZ expects its standard output to point to the
  751.      console, a logging file, or NUL, but never the modem port.  If dsz's
  752.      standard output is redirected to the modem (as with ProComm's Host mode
  753.      DOS shell), the combination will lock up the computer.  When necessary,
  754.      dsz's standard output can be redirected back to the console device with
  755.      the CON command.
  756.  
  757.      Users of pcAnywhere must use the DSZ.EXE A command to disable pcAnywhere
  758.      host mode during file transfers.
  759.  
  760.      DSZ and GSZ automatically support Doorway 2.2 without extra commands.
  761.  
  762.      The RZ.BAT and SZ.BAT files are supplied for convenience when operating
  763.  
  764.  
  765.  
  766.  
  767.  
  768.      Chapter 4 Pg 11       DSZ Reference Rev Dec-14-91       Typeset 12-14-91
  769.  
  770.  
  771.      under Doorway.  RZ.BAT allows calling programs that emit an "rz" command
  772.      to automatically start DSZ from the DOS command prompt.  SZ.BAT is a
  773.      convenient command interface that complements RZ.BAT.  You may modify
  774.      SZ.BAT and RZ.BAT with your favorite options.
  775.  
  776.  
  777.  
  778.  
  779.  
  780.  
  781.  
  782.  
  783.  
  784.  
  785.  
  786.  
  787.  
  788.  
  789.  
  790.  
  791.  
  792.  
  793.  
  794.  
  795.  
  796.  
  797.  
  798.  
  799.  
  800.  
  801.  
  802.  
  803.  
  804.  
  805.  
  806.  
  807.  
  808.  
  809.  
  810.  
  811.  
  812.  
  813.  
  814.  
  815.  
  816.  
  817.  
  818.  
  819.  
  820.  
  821.  
  822.  
  823.  
  824.  
  825.  
  826.  
  827.      Chapter 4 Pg 12       DSZ Reference Rev Dec-14-91       Typeset 12-14-91
  828.  
  829.  
  830.      5.  COMMANDS
  831.  
  832.            ***********************************************************
  833.                                     NOTE WELL
  834.       Except as noted, all commands and options must be typed in lower case.
  835.                              DO NOT USE UPPER CASE!!
  836.                                Case is significant!
  837.            ***********************************************************
  838.  
  839.      Optional commands or arguments are shown in square brackets [].
  840.  
  841.      When used (in any combination), the A, CON, port, speed, handshake,
  842.      estimate, and d commands must be used in exactly this order.
  843.  
  844.      dsz [A] [CON] [F] [port N] [speed S] [handshake XX] [pxN... ] [z pxN...
  845.      ] [D] [d] [restrict] command
  846.  
  847.  
  848.      5.1  List of Commands
  849.  
  850.      A     Suspend pcAnywhere operation during file transfers (available only
  851.            with DSZ.EXE).  The A command is used to avoid lockups caused by
  852.            pcAnywhere host mode.  This command should be given to the DSZ
  853.            running under pcAnywhere host mode.  Effective for PCA version 4.
  854.  
  855.            NOTE: A bug in the PCA Version 4 API causes the remote to
  856.            effectively lock up when DSZ executes the suspend-host command.
  857.            Currently the workaround for this bug it to use VT-220 emulation
  858.            on the pcAnywhere host and remote instead of pcAnywhere4
  859.            emulation.  Another possibility is to run AWREMOTE under DESQview,
  860.            set the window to SUSPEND AWREMOTE.EXE, and swap windows to a DOS
  861.            window from which DSZ, ZCOMM, or Professional-YAM can be run while
  862.            AWREMOTE.EXE is forced to remain inert.
  863.  
  864.            The shareware program DOORWAY 2.2 interfaces well with DSZ, and
  865.            provides many of the same functions, including the ability to run
  866.            direct screen writing applications remotely.  DSZ and GSZ
  867.            automatically support Doorway 2.2 without extra commands.
  868.  
  869.  
  870.            EXAMPLE: dsz A sz *.foo Sends files from a pcAnywhere hosted
  871.            machine to you.
  872.  
  873.  
  874.            Fm: Al de la Torre
  875.  
  876.            1 sending from host to remote
  877.                   type: "dsz A sz filename.ext" ENTER
  878.                   shell to dos on remote machine (ctrl-Rshift)
  879.                   type: "dsz A rz" ENTER
  880.  
  881.  
  882.  
  883.  
  884.  
  885.  
  886.      Chapter 5 Pg 13       DSZ Reference Rev Dec-14-91       Typeset 12-14-91
  887.  
  888.  
  889.            2 sending from remote to host
  890.                   type: "dsz A rz" ENTER
  891.                   shell to dos on remote machine (ctrl-Rshift)
  892.                   type: "dsz A sz filename.ext" ENTER
  893.  
  894.  
  895.      CON   Redirect  message  output  to  the  DOS  "CON"  (console)  device,
  896.            overriding  any previous redirections.  This is necessary to avoid
  897.            lockups caused by ProComm host mode.  Most programs do not require
  898.            this hack.
  899.  
  900.      F     Leave the 16550A UART FIFO enabled on exit.  Since DSZ has no  way
  901.            to  read  the 16550A DMA mode and trigger level bits, these values
  902.            are not restored.
  903.  
  904.      port N select port N (n =  1,2,3,4,5,6,7,8,  10,11,12,13,14,15,16,17,18)
  905.            Default  is  1 (COM1) or whatever is read from the DOS DSZPORT dos
  906.            environment variable.  COM11 to COM18 refer to the  COM1  to  COM8
  907.            ports on the PS/2.
  908.  
  909.            *****************************************************************
  910.                                           NOTE
  911.            Only COM1 and COM2 are standard on all  PC  compatible  computers.
  912.            Multiple  standards  exist for COM3 and above, so use only COM1 or
  913.            COM2 when first installing DSZ.
  914.            *****************************************************************
  915.  
  916.            DSZ COM3 uses 3E8 and IRQ4.  DSZ COM4 uses 2E8 and IRQ3.
  917.  
  918.            DSZ COM7 uses 2E8 and IRQ5.  DSZ COM8 uses 3E8 and IRQ5.
  919.  
  920.            If you wish to use COM3 or COM4 and your  computer  is  not  wired
  921.            according  to  one  of  these  choices,  you  MUST use the "portx"
  922.            command to specify base address and interrupt vector.
  923.  
  924.            EXAMPLE: to use COM2:
  925.            dsz port 2 rz
  926.  
  927.            In multitasking  operation,  accessing  a  port  used  by  another
  928.            running program will hang the machine.
  929.  
  930.  
  931.      portx base,irq To select an arbitrary port address and interrupt vector,
  932.            the  portx  command  must  be  used  instead  of the port command.
  933.            Please refer to DSZBG.DOC (provided on the Registration  Diskette)
  934.            or  the  Professional-YAM  or  ZCOMM  (ZCOMMDOC.ZIP)  manuals  for
  935.            details on this command.
  936.  
  937.            EXAMPLE: dsz portx 3e8,4 speed 2400 rz
  938.  
  939.  
  940.  
  941.  
  942.  
  943.  
  944.  
  945.      Chapter 5 Pg 14       DSZ Reference Rev Dec-14-91       Typeset 12-14-91
  946.  
  947.  
  948.      speed S Set the specified speed.  This command is rarely needed because
  949.            DSZ reads the port's current speed by default.  Please refer to
  950.            the FLOW CONTROL, MAIN COMMANDS and SOFTWARE COEXISTENCE chapters
  951.            in DSZBG.ZOO or the ZCOMM or Pro-YAM manual for important
  952.            information about the speed command.
  953.  
  954.            Please study all the chapters of this document when using speeds
  955.            above 2400 bps.
  956.  
  957.            DSZ supports a maximum speed of 115200.  Not all hardware can
  958.            support that speed without errors.
  959.  
  960.  
  961.      handshake XX Enable one of several choices of hardware handshake.  (The
  962.            default is XOFF/XON software handshake).  This command is
  963.            documented in the ZCOMM or Pro-YAM manual, and in DSZBG.DOC.  (The
  964.            ZCOMM manual is available on all bulletin boards registered for
  965.            DSZ or GSZ as ZCOMMDOC.ZIP.) On DSZ the "handshake" command may be
  966.            abbreviated to "ha".
  967.  
  968.      D     Disables the modem (drops Data Terminal Ready, DTR) if carrier is
  969.            lost.  This may be used to prevent spurious events (phone ringing)
  970.            from interfering with the calling bulletin board's recovery from
  971.            carrier loss.
  972.  
  973.      d     Disables carrier dropout monitoring, for modems that do not
  974.            properly drive the "Carrier Detect" input on the PC.  If you see a
  975.            No Carrier Detect message, you need to give the d command.  Before
  976.            using the d command, make sure you have the proper port
  977.            selected!!!
  978.  
  979.  
  980.      estimate length [speed] Use the specified length and/or optional
  981.            specified effective transfer speed to estimate transfer time for
  982.            the next file to be sent or received.  The length argument is
  983.            mainly used with XMODEM downloads; YMODEM and ZMODEM normally
  984.            transfer the file length in the filename packet.  The estimate
  985.            command must come after any port, speed, or handshake commands.
  986.  
  987.            The estimate command does not affect actual througput.  It only
  988.            affects DSZ's prediction of how much time a file transfer will
  989.            take.
  990.  
  991.            The following makes DSZ calculate file transfer times based on 290
  992.            character per second throughput.  Some error correcting 2400 bps
  993.            modems can attain this throughput when MobyTurbo(TM) is used.
  994.  
  995.            EXAMPLE: dsz port 2 speed 9600 estimate 0 2900 rz
  996.  
  997.  
  998.  
  999.  
  1000.  
  1001.  
  1002.  
  1003.  
  1004.      Chapter 5 Pg 15       DSZ Reference Rev Dec-14-91       Typeset 12-14-91
  1005.  
  1006.  
  1007.            EXAMPLE: dsz port 2 speed 9600 estimate 0 2900 sz bigmama.zip
  1008.  
  1009.  
  1010.  
  1011.      pxN   Set numeric parameter x to N.
  1012.  
  1013.            DSZ has two sets of numeric parameters, a base set and a "zmodem"
  1014.            set.  Parameters in the base control such things as date stamping
  1015.            of files, error exit value, etc.  The "zmodem" numeric parameters
  1016.            control timeouts, window sizes, and other ZMODEM, YMODEM, and
  1017.            XMODEM protocol parameters.
  1018.  
  1019.            These parameters are mostly a subset of the Pro-YAM/ZCOMM numeric
  1020.            parameters, and are listed below.  They assume their defaults each
  1021.            time DSZ is called.  Without an argument, p displays the numeric
  1022.            parameters and their values.
  1023.  
  1024.            EXAMPLE: dsz p
  1025.  
  1026.  
  1027.      z pxN Set zmodem numeric parameter x to N.  All further numeric
  1028.            parameter commands are taken as zmodem parameters.  The zmodem
  1029.            numeric parameters correspond to the Pro-YAM or ZCOMM "zmodem"
  1030.            parameters and rarely need changing.  These parameters assume
  1031.            their defaults each time DSZ is called.  Without an argument, z p
  1032.            displays the zmodem numeric parameters and their values.
  1033.  
  1034.  
  1035.      restrict Restrict incoming pathnames (YMODEM/ZMODEM) to the current disk
  1036.            and directory tree, and disallow modification or overwriting of
  1037.            existing files.  This command is vital for bulletin boards
  1038.            uploading files.  The restrict command causes partially received
  1039.            files to be deleted.  When DSZ is restricted, it will refuse to
  1040.            transfer files containing the string autoexec.bat and command.com
  1041.            in upper or lower case.  This provides some defense from malicious
  1042.            uploaded files.
  1043.  
  1044.            EXAMPLE: dsz restrict rz
  1045.  
  1046.  
  1047.      t     [-T] [-8g] [-h] [-H] Talk with ZMODEM AutoDownload.
  1048.  
  1049.            The optional -T forces DSZ to exit after it has recognized a
  1050.            ZMODEM AutoDownload(TM) request.
  1051.  
  1052.            The optional -8g (available on registered copies only) enables
  1053.            reception of "BBS (ANSI) graphics" displays.  (A video device
  1054.            driver such as ANSI.SYS must be loaded to support some types of
  1055.            graphics.)
  1056.  
  1057.            The optional -h enables local echo of keyboarded characters ("half
  1058.  
  1059.  
  1060.  
  1061.  
  1062.  
  1063.      Chapter 5 Pg 16       DSZ Reference Rev Dec-14-91       Typeset 12-14-91
  1064.  
  1065.  
  1066.            duplex").  In addition, -H makes the Enter key perform a local
  1067.            newline (CR/LF).
  1068.  
  1069.            A small subset of ZCOMM/Pro-YAM term function subcommands are
  1070.            recognized:
  1071.  
  1072.            Keyboard F1 or ALT-X to exit.
  1073.  
  1074.            F3 receives file(s) with True YMODEM(TM),
  1075.  
  1076.            ALT-P toggles parity between the 8n default and 8g (enables ANSI
  1077.            "graphics").
  1078.  
  1079.            ALT-H toggles two local echo ("Half Duplex") modes; the second
  1080.            displays a newline (CR/LF) when Enter is keyboarded.
  1081.  
  1082.            Keyboarded ASCII characters are sent to the modem.
  1083.  
  1084.            ALT-B sends a break.
  1085.  
  1086.            Characters from the modem print on the screen.  A device driver
  1087.            such as ANSI.SYS may be used to recognize escape sequences.
  1088.            Standard ANSI.SYS is limited to a small subset of ANSI escape
  1089.            sequences; NANSI.SYS, FANSI-Console and other replacement console
  1090.            drivers provide faster screen updates and better ANSI terminal
  1091.            emulation.
  1092.  
  1093.            DSZ's ZMODEM AutoDownload(TM) detects the start of a ZMODEM file
  1094.            download and accepts the file(s) without operator intervention.
  1095.  
  1096.      rz    [-abeEmMnpPrt+YZy] [dir] [file ...]     (ZMODEM-90 receive) **
  1097.  
  1098.      rz    [-abenprt+Yy] [dir] [file ...]          (ZMODEM receive) **
  1099.  
  1100.      rb    [-abt+y] [dir] [file ...]     (YMODEM receive) **
  1101.  
  1102.      rb -g [-abt+y] [dir] [file ...]     (YMODEM-g receive) **
  1103.  
  1104.      rc    [-abt+y] file1                (XMODEM/CRC receive)
  1105.  
  1106.      ro    [-abt+y] file1                (XMODEM OverThruster receive)
  1107.  
  1108.      rx    [-abt+y] file1                (XMODEM receive)
  1109.  
  1110.      rx -g [-abt+y] file1                (Qmodem-G receive) **
  1111.  
  1112.            ** Download directory specification and -g ignored w/o
  1113.            registration
  1114.  
  1115.  
  1116.  
  1117.  
  1118.  
  1119.  
  1120.  
  1121.  
  1122.      Chapter 5 Pg 17       DSZ Reference Rev Dec-14-91       Typeset 12-14-91
  1123.  
  1124.  
  1125.      sz    [-abefnprtFYQS+yZ] [-w[N]]  [PREFIX=p | ONAME=n] file ...(ZMODEM
  1126.            send)
  1127.  
  1128.      sz    [-abeEfmMnpPrtFYQS+yZ] [-w[N]]  [PREFIX=p | ONAME=n] file
  1129.            ...(ZMODEM-90 send)
  1130.  
  1131.            Pathnames are separated by spaces.  Wildcards are OK.
  1132.  
  1133.            EXAMPLE: dsz port 2 sz -r /tmp/file1 /tmp/file3 *.c
  1134.  
  1135.  
  1136.            The "sz" and "sb" commands exploit DOS's tree structured file
  1137.            system.  A directory or disk specifier expands to all files in
  1138.            that directory.
  1139.  
  1140.            EXAMPLE: dsz port 2 sz -r C:srcdir
  1141.  
  1142.  
  1143.            If you use PREFIX= or ONAME= with the "sb" or "sz" commands, these
  1144.            pathnames must be entered in lower case unless the underlying file
  1145.            system supports upper AND lower case.
  1146.  
  1147.            EXAMPLE: dsz port 2 sz -r ONAME=newsrc.c temp.c
  1148.  
  1149.  
  1150.  
  1151.      sb    [-ft] [PREFIX=p | ONAME=n] file ...     (YMODEM or YMODEM-g send)
  1152.  
  1153.      sb -k [-ft] [PREFIX=p | ONAME=n] file ...     (YMODEM-1k or YMODEM-g
  1154.            send)
  1155.  
  1156.      sx    [-t] file1                    (XMODEM, XMODEM/CRC, Qmodem-G send)
  1157.  
  1158.      sx -k [-t] file1                    (XMODEM-1k send)
  1159.  
  1160.  
  1161.      v     Verify the serial number by writing a log entry (see DSZLOG).
  1162.  
  1163.            v      1     0 bps    0 cps   0 errors     0  128 s/n 666
  1164.  
  1165.            The letter "v" indicates a verification entry.  The first numeric
  1166.            field is 1 if YMODEM-g is supported.  The last field is the serial
  1167.            number.  Unregistered copies show a s/n of 0.
  1168.  
  1169.  
  1170.      o     Turn off Data Terminal Ready (DTR), terminating ("offing") the
  1171.            connection if the modem responds to DTR.  Useful with the "t"
  1172.            command to disconnect afterwards.
  1173.  
  1174.            EXAMPLE: dsz t o
  1175.  
  1176.  
  1177.  
  1178.  
  1179.  
  1180.  
  1181.      Chapter 5 Pg 18       DSZ Reference Rev Dec-14-91       Typeset 12-14-91
  1182.  
  1183.  
  1184.      LARG  Convert ARG to lower case, then parse arg.
  1185.  
  1186.  
  1187.      The meanings of optional arguments to the file transfer commands are
  1188.      described in DSZBG.DOC and the ZCOMM/Pro-YAM manual.
  1189.  
  1190.      The s (SlugBait) option prevents a receiver from receiving a file
  1191.      without accounting for it.  Attempts to do so are flagged with a Q
  1192.      status in the log file.  This option can cause a transfer that
  1193.      legitimately fails near the end of the file to be reported as
  1194.      Questionable rather than ERROR.  SlugBait causes DSZ to return success
  1195.      if at least one file is transferred.
  1196.  
  1197.      Send files may be specified indirectly:
  1198.                                dsz sz @C:files.lst
  1199.      sends the files in C:files.lst.  This provides another means of
  1200.      bypassing the DOS command line limit.  The first letter must be "@" and
  1201.      the third letter must be ":" to distinguish this from an ordinary
  1202.      pathname.  Pathnames in the indirection file may be separated by any
  1203.      combination of space(s), tab(s), CR and/or LF.  No spaces may appear
  1204.      inside a pathname; "FOO     .BAR" won't work.
  1205.  
  1206.      A list of files to send may be built up with a command like:
  1207.  
  1208.      EXAMPLE: dir *.zip > files.tmp
  1209.  
  1210.      This file can be edited to remove unwanted files.  Then you send the
  1211.      files with:
  1212.      DSZ sz -m @c:files.tmp
  1213.  
  1214.  
  1215.      5.2  Interrupt Keys
  1216.  
  1217.      Ctrl-Break Terminates the transfer in progress.
  1218.  
  1219.      ALT-N Abruptly terminates (NUKES) the transfer in progress.
  1220.  
  1221.      Ctrl-X Typing a dozen Ctrl-X characters to another ZMODEM program
  1222.           terminates ZMODEM operations.
  1223.  
  1224.      ALT-F Skips the current file in ZMODEM transfers.
  1225.  
  1226.      ALT-B Cancels the current ZMODEM session.
  1227.  
  1228.  
  1229.  
  1230.  
  1231.  
  1232.  
  1233.  
  1234.  
  1235.  
  1236.  
  1237.  
  1238.  
  1239.  
  1240.      Chapter 6 Pg 19       DSZ Reference Rev Dec-14-91       Typeset 12-14-91
  1241.  
  1242.  
  1243.      6.  NUMERIC PARAMETERS
  1244.  
  1245.      DSZ uses the following main numeric parameters, settable with the pxN
  1246.      command.
  1247.  
  1248.      EXAMPLE: dsz pQ0 rz -rr
  1249.  
  1250.  
  1251.      **************************************************************************
  1252.      NOTE: Parameter setting commands such as "pd0" cannot be added to
  1253.      DSZOPT, they must be included in the command line.
  1254.      **************************************************************************
  1255.  
  1256.      In addition, DSZ uses the Pro-YAM/ZCOMM zmodem numeric parameters
  1257.      described in the Pro-YAM/ZCOMM reference manual (ZCOMMDOC.ZIP) and in
  1258.      DSZBG.DOC.
  1259.  
  1260.  
  1261.      B   Set the size of buffer used for disk reads and writes.  The default
  1262.          is 1024, 4096 maximum (16384 max on GSZ and DSZ.EXE).  If your copy
  1263.          of DSZ is running on a floppy disk system or a very slow turkey hard
  1264.          disk, a larger value may give better results.  Too large a value may
  1265.          exhaust memory, induce receiver timeouts, cause disconnects(!), or
  1266.          generate spurious CRC errors.  If performance logging doesn't work,
  1267.          this parameter is too big.
  1268.  
  1269.          EXAMPLE: dsz pB4096 sz A:floppy.fil
  1270.  
  1271.          Setting the buffer size may lock out the performance log, DSZFILES,
  1272.          and/or indirect pathname list in DSZ.COM.
  1273.  
  1274.          IF YOU AREN'T BLOODY SURE YOU NEED A BIGGER BUFFER, DON'T USE ONE.
  1275.  
  1276.          Please understand that the B parameter has nothing to do with
  1277.          anything you've heard about 128, 1024 or 8192 byte XMODEM style
  1278.          blocks.  Normally, ZMODEM's block size is the entire file!
  1279.  
  1280.      G   This parameter controls the number of bytes loaded into the 16550A
  1281.          transmit FIFO (First In First Out) storage register on each
  1282.          interrupt.
  1283.  
  1284.          For maximum efficiency, DSZ fills the 16 byte transmit FIFO when the
  1285.          UART generates a FIFO Empty interrupt.  Once loaded, data
  1286.          transmission from the transmit FIFO cannot be stopped, so many bytes
  1287.          may be sent after the modem sends XOFF or asserts hard flow control
  1288.          restraint.  Good engineering practice requires that modems accept a
  1289.          large number of bytes after exerting flow control restraint, but
  1290.          some modems won't.
  1291.  
  1292.          This parameter is effective only with PCDOS machines using FIFO
  1293.          buffered UART devices.  To improve dsz's responsiveness to flow
  1294.  
  1295.  
  1296.  
  1297.  
  1298.  
  1299.      Chapter 6 Pg 20       DSZ Reference Rev Dec-14-91       Typeset 12-14-91
  1300.  
  1301.  
  1302.          control restraint, set this parameter to 0.
  1303.  
  1304.          EXAMPLE: pG0
  1305.  
  1306.  
  1307.      O   This parameter controls XMODEM OverThruster(TM).  It is described in
  1308.          DSZBG.DOC.
  1309.  
  1310.      P   After a "speed" command, if you give a p command (display
  1311.          parameters), the P parameter value will indicate the type of serial
  1312.          I/O UART chip detected.  DSZ automatically detects and enables the
  1313.          FIFO on the NS16550A, NS16550AFN, Goldstar GM82C550, and Intel 82510
  1314.          chips.
  1315.  
  1316.          EXAMPLE: dsz port 1 speed 19200 p
  1317.  
  1318.  
  1319.          0  Indicates a standard 8250 or 16450 UART with no special features.
  1320.  
  1321.          1  Indicates an NS16550AN or NS16550AFN with 16 deep receive FIFO.
  1322.             These are the preferred chips.
  1323.  
  1324.          2  Indicates an Intel 82510 with 3 deep receive FIFO.
  1325.  
  1326.          The sequence "port 1 pP1 speed 19200" bypasses DSZ's verification
  1327.          checks normally performed on the FIFO configuration and may allow
  1328.          defective FIFO logic on certain chips to be used.  This incantation
  1329.          is not required for the NS16550AN or NS16550AFN.
  1330.  
  1331.          The sequence "pP-1 speed 2400" should be used with the Western
  1332.          Digital WD16550 chip to disable the brain damaged FIFO on that chip.
  1333.          The WD16550 FIFO has been observed to lose data when transmitting at
  1334.          2400 bps and slower speeds.  The minimum speed for normal transmit
  1335.          FIFO operation with the WD16C550 may vary with different computers.
  1336.  
  1337.  
  1338.      Q   Error code returned to DOS (default 1).  (Success always returns 0.)
  1339.          Some programs toss cookies when confronted with certain exit codes.
  1340.  
  1341.          EXAMPLE: dsz pQ-1 sz foo.bar
  1342.  
  1343.  
  1344.          DSZ reports an error if no files have been transferred, even if the
  1345.          command used wasn't supposed to transfer any file(s).
  1346.  
  1347.  
  1348.      R   If set to 1, causes partially received files to be deleted.
  1349.  
  1350.          EXAMPLE: DSZ pR1 rz
  1351.  
  1352.  
  1353.  
  1354.  
  1355.  
  1356.  
  1357.  
  1358.      Chapter 6 Pg 21       DSZ Reference Rev Dec-14-91       Typeset 12-14-91
  1359.  
  1360.  
  1361.      S   Timeout in seconds (default 15) waiting for restraint release (XON
  1362.          and/or handshake).
  1363.  
  1364.      V   (DSZ.COM and GSZ only) Set this to 1 to use direct to screen video.
  1365.          This speeds up displays but may cause serial input errors when CGA
  1366.          equipped computers are used at high speeds.
  1367.  
  1368.          EXAMPLE: GSZ pV1 rz
  1369.  
  1370.          sets direct video output.
  1371.  
  1372.      W   Wait for Enter key before exiting after an error.  Useful when
  1373.          calling DSZ from DESQview, allows the window to close unless there
  1374.          is an error message that should remain visible.
  1375.  
  1376.          EXAMPLE: dsz pW1 sz foo.bar
  1377.  
  1378.  
  1379.      Y   Control byte for the NS16550AN/NS16550FAN FCR register.  If you
  1380.          don't know what the FCR does, don't mess with this parameter.  It
  1381.          has been suggested that a different value (129) may improve
  1382.          multitasking under DESQview when multiple copies of DSZ are active.
  1383.  
  1384.      a   Calibrates certain protocol timeouts used with XMODEM and YMODEM
  1385.          transfers (Cybernetic Data Recovery(TM)).  This parameter does not
  1386.          affect ZMODEM transfers.
  1387.  
  1388.          The a numeric parameter is automatically set to 2000 for a 4.77 mHz
  1389.          PC or XT, 4000 for a PS2/30, 6000 for an 8 mHz 1ws AT, and 12000 for
  1390.          a PS2/80.  If your computer has a speedup card or otherwise runs
  1391.          unusually fast (or slow!) for its type, you may set the a numeric
  1392.          parameter to a value that reflects its speed.
  1393.  
  1394.          EXAMPLE: dsz port 2 pa4000 rb
  1395.  
  1396.  
  1397.          NOTE: Setting this parameter does not suppress the "Unknown Machine
  1398.          Type" message which is displayed before the command line is scanned.
  1399.  
  1400.      d   A non zero value (the default) causes incoming files received with
  1401.          ZMODEM and full YMODEM transfers to have their Date set to that sent
  1402.          in the file header.  ZMODEM's file management features depend on the
  1403.          transmission of each file's modification date.  Files will have the
  1404.          same creation date, even if the two machines are in different time
  1405.          zones.  When transferring files to/from a Unix system, creation
  1406.          dates are interpreted according to GMT or Universal Coordinated
  1407.          Time.  File dating may be disabled with a pd0 command, which causes
  1408.          files to assume the date and time they were received.
  1409.          NOTE: Backdating file creation times may confuse some backup
  1410.          programs.
  1411.  
  1412.  
  1413.  
  1414.  
  1415.  
  1416.  
  1417.      Chapter 6 Pg 22       DSZ Reference Rev Dec-14-91       Typeset 12-14-91
  1418.  
  1419.  
  1420.      v   Verbose level (debugging output) Negative values inhibit some
  1421.          routine messages.  Setting v to 1 or greater causes serialized
  1422.          copies to ring the bell when a transfer is done.
  1423.  
  1424.          EXAMPLE: dsz pv1 port 2 rz
  1425.  
  1426.  
  1427.      z   Timezone in minutes behind GMT, used for ZMODEM and True YMODEM file
  1428.          transfers to coordinate the actual date of the file with computers
  1429.          in other time zones.  PDT or MST corresponds to 420.  This may be
  1430.          preset with the ZONE DOS environment variable.
  1431.  
  1432.  
  1433.  
  1434.  
  1435.  
  1436.  
  1437.  
  1438.  
  1439.  
  1440.  
  1441.  
  1442.  
  1443.  
  1444.  
  1445.  
  1446.  
  1447.  
  1448.  
  1449.  
  1450.  
  1451.  
  1452.  
  1453.  
  1454.  
  1455.  
  1456.  
  1457.  
  1458.  
  1459.  
  1460.  
  1461.  
  1462.  
  1463.  
  1464.  
  1465.  
  1466.  
  1467.  
  1468.  
  1469.  
  1470.  
  1471.  
  1472.  
  1473.  
  1474.  
  1475.  
  1476.      Chapter 7 Pg 23       DSZ Reference Rev Dec-14-91       Typeset 12-14-91
  1477.  
  1478.  
  1479.      7.  ENVIRONMENT VARIABLES
  1480.  
  1481.      The following DOS environment variables may be set to modify DSZ
  1482.      operation.  DOS environment variables are set by giving a command to DOS
  1483.      before running DSZ.  You can add these commands to your autoexec.bat
  1484.      file.
  1485.  
  1486.  
  1487.      EXAMPLE: set DSZPORT=2
  1488.  
  1489.  
  1490.      The following form may be used for arbitrary address/vector
  1491.      combinations:
  1492.  
  1493.      EXAMPLE: set DSZPORT=3e8,4
  1494.  
  1495.      These DOS "set" commands may be placed in your AUTOEXEC.BAT file or
  1496.      given just before you run your communications program.
  1497.  
  1498.      IMPORTANT! Do not add spaces to these commands!!
  1499.      set DSZPORT  =  2 WILL NOT WORK!
  1500.  
  1501.  
  1502.      DIRRX (Registered copies only.) Specifies the directory to receive
  1503.          (download) files.  If the sting in DIRRX ends with "/", directory
  1504.          and/or disk designators in the incoming pathname are stripped, and
  1505.          only the stem (name and extension) is used.  Otherwise, if an
  1506.          incoming file has an absolute pathname, the incoming pathname is
  1507.          used.
  1508.  
  1509.          EXAMPLE: set DIRRX=C:/modem/download/dsz/
  1510.          dsz rz -r
  1511.          downloads files to the /modem/download/dsz directory on the C:
  1512.          drive, with ZMODEM Crash Recovery..
  1513.  
  1514.  
  1515.          EXAMPLE: set DIRRX=B:/
  1516.  
  1517.          The DOS "set" command defining the receive directory may be placed
  1518.          in your AUTOEXEC.BAT file.  Make certain there is enough environment
  1519.          space to hold this value.  Confirm this by typing "set" to the DOS
  1520.          prompt and verifying the DIRRX value is listed correctly.
  1521.  
  1522.      DSZFILES May contain a list of up to 9999 pathnames to transmit, with
  1523.          entries separated by spaces.  If present, DSZFILES is used in place
  1524.          of a normal command line list of files to send with the sb and sz
  1525.          commands.
  1526.  
  1527.          EXAMPLE: set DSZFILES=file1 file2 file3 *.c
  1528.          dsz port 2 handshake on sz -rr
  1529.  
  1530.  
  1531.  
  1532.  
  1533.  
  1534.  
  1535.      Chapter 7 Pg 24       DSZ Reference Rev Dec-14-91       Typeset 12-14-91
  1536.  
  1537.  
  1538.          In practice, this string would be built up by a calling program and
  1539.          passed to DSZ with a "spawnvpe", "execvpe", or similar subroutine
  1540.          call.
  1541.  
  1542.          SEE ALSO: Pathname list specification @C:files.lst
  1543.  
  1544.      DSZLOG log file to receive entries for files sent and received.
  1545.          (Default null).  Sample entries:
  1546.  
  1547.      Z  46532 38400 bps 3324 cps   0 errors    66 1024 DSZ.COM 1177
  1548.      Z 124087 19200 bps 1880 cps   0 errors     6 1024 MXY.TMP 1177
  1549.  
  1550.          Transfer times are based on the DOS time of day clock and have up to
  1551.          two seconds' uncertainty.  As with all protocol throughput reports
  1552.          generated by Omen Technology programs (and contrary to the false
  1553.          claims of some critics), DSZ's throughput figures for ZMODEM,
  1554.          Kermit, and True YMODEM(TM) transfers do not take "credit" for
  1555.          pathname and/or protocol overhead characters.  DSZ's throughput
  1556.          reports do not include the time required to send the pathname.  This
  1557.          understates the true time required to transfer files, but the time
  1558.          required to send the pathname often depends on the alacrity of the
  1559.          operator, and thus does not always reflect the performance of the
  1560.          protocol itself.
  1561.  
  1562.          Transfers measuring less than one second are reported as having 9999
  1563.          characters per second throughput.
  1564.  
  1565.          The unlabeled numeric field after the error (retry) count is the
  1566.          number of flow control stoppages encountered sending the file.  This
  1567.          number gives an indication of flow control restrictions (overloaded
  1568.          networks, etc.) encountered during the transfer.
  1569.  
  1570.          The last numeric field before the file name is the YMODEM block size
  1571.          or ZMODEM subpacket length used for the last block in the file.
  1572.  
  1573.          The last field is the serial number of the other program, or -1 if
  1574.          this information is not available.  When sending files, the
  1575.          receiving program's serial number is not normally available unless
  1576.          the -S option is used.
  1577.  
  1578.          The code letter indicates the type of transfer, Z (ZMODEM), S
  1579.          (X/YMODEM), R (X/YMODEM), E (error), or L (transfer terminated by
  1580.          loss of data carrier).
  1581.  
  1582.          WARNING: If DSZ encounters a loss of carrier or other fatal error
  1583.          condition before a file COMMENCES transmission, a log entry may not
  1584.          be made.
  1585.  
  1586.  
  1587.          EXAMPLE: set DSZLOG=C:/yam/dszlog
  1588.  
  1589.  
  1590.  
  1591.  
  1592.  
  1593.  
  1594.      Chapter 7 Pg 25       DSZ Reference Rev Dec-14-91       Typeset 12-14-91
  1595.  
  1596.  
  1597.          IMPORTANT! NO SPACES!!
  1598.  
  1599.  
  1600.      DSZOPT (Registered copies only) String containing default options for
  1601.          DSZ file transfers.  Legal option letters for DSZOPT are the
  1602.          optional modifiers to the DSZ sz, rz, sx, rx, sb, rb commands.
  1603.  
  1604.          A T may be appended to the string to force DSZ to exit after it has
  1605.          recognized a ZMODEM AutoDownload(TM) request.
  1606.  
  1607.          An 8g may be appended to the string to make BBS (ANSI) graphics the
  1608.          default for DSZ's t command.  The ability to preset these options is
  1609.          especially helpful for controlling ZMODEM automatic downloads from
  1610.          DSZ's t command.
  1611.  
  1612.          EXAMPLE: set DSZOPT=r
  1613.          Enables DSZ's Intelligent Crash Recovery(TM) as a default.
  1614.  
  1615.          Let's say you wish ZMODEM crash recovery, and BBS "graphics" for the
  1616.          DSZ term function:
  1617.          set DSZOPT=r8g
  1618.  
  1619.  
  1620.          If you're downloading files from GEnie with an MNP modem, the
  1621.          following will speed up your downloads with Genie's ZMODEM-90Tm.
  1622.          (You can recognize ZMODEM-90 on GEnie two ways: 1) MobyTurboTm is
  1623.          used to speed ZIP and ARC downloads, 2) "sz 4.xx" is displayed at
  1624.          the end of transfer.  As of this writing, ZMODEM-90 may not be
  1625.          available in all libraries.) Note that (as usual with DSZ) case is
  1626.          significant: the "r" must be lower case, the "W" upper case.
  1627.          set DSZOPT=rW16384
  1628.  
  1629.  
  1630.          WARNING: Do NOT include "ena" or any other commands in the DSZOPT
  1631.          string.  With the exception of the "8g" mode, only **options** may
  1632.          be placed in the DSZOPT string!  (Options are the letters that
  1633.          modify the sz, rz, sb, etc. commands.  In "rz -r", "r" is an
  1634.          option.)
  1635.  
  1636.          Parameters can not be set in DSZOPT.
  1637.  
  1638.      MAXBYTES Maximum number of bytes allowed for transfer.  If this number
  1639.          is exceeded, DSZ skips the offending files (ZMODEM) or aborts
  1640.          remaining files in the batch (YMODEM).
  1641.  
  1642.      DSZPORT Default communications port override, default 1.
  1643.  
  1644.          EXAMPLE: set DSZPORT=2
  1645.  
  1646.          IMPORTANT! NO SPACES!!
  1647.  
  1648.  
  1649.  
  1650.  
  1651.  
  1652.  
  1653.      Chapter 7 Pg 26       DSZ Reference Rev Dec-14-91       Typeset 12-14-91
  1654.  
  1655.  
  1656.      ZONE sets the z numeric parameter to the number of minutes the current
  1657.          local time lags GMT time.  PDT or MST corresponds to 420.  PST
  1658.          corresponds to 480.
  1659.          EXAMPLE:
  1660.          set ZONE=420
  1661.  
  1662.  
  1663.  
  1664.  
  1665.  
  1666.  
  1667.  
  1668.  
  1669.  
  1670.  
  1671.  
  1672.  
  1673.  
  1674.  
  1675.  
  1676.  
  1677.  
  1678.  
  1679.  
  1680.  
  1681.  
  1682.  
  1683.  
  1684.  
  1685.  
  1686.  
  1687.  
  1688.  
  1689.  
  1690.  
  1691.  
  1692.  
  1693.  
  1694.  
  1695.  
  1696.  
  1697.  
  1698.  
  1699.  
  1700.  
  1701.  
  1702.  
  1703.  
  1704.  
  1705.  
  1706.  
  1707.  
  1708.  
  1709.  
  1710.  
  1711.  
  1712.      Chapter 8 Pg 27       DSZ Reference Rev Dec-14-91       Typeset 12-14-91
  1713.  
  1714.  
  1715.      8.  EXIT STATUS
  1716.  
  1717.      DSZ exits with 0 status for successful transfers, or the value of the Q
  1718.      numeric parameter (default 1) if a file transfer failed, or if no files
  1719.      were transferred.  Many languages and "door" programs do not return this
  1720.      information to the calling program.  Some languages and "door" programs
  1721.      freak out (hang) on certain non-zero exit values.
  1722.  
  1723.      A batch file that calls DSZ directly may be used to detect the DSZ exit
  1724.      status with the DOS "errorlevel" construct.  Please refer to the Q
  1725.      numeric parameter below for more information.
  1726.  
  1727.      DSZ's log file entries may also be examined to determine the success or
  1728.      failure of a file transfer.
  1729.  
  1730.      DSZ commands are an improper subset of Pro-YAM/PowerCom/ZCOMM commands.
  1731.      The file transfer commands are fully described in ZCOMMDOC.ZIP, the
  1732.      ZCOMM User's Manual.  Portions of the ZCOMM User's Manual are also
  1733.      provided in DSZBG.ZOO.  You may refer to one of those documents for
  1734.      details on the following commands.
  1735.  
  1736.  
  1737.  
  1738.  
  1739.  
  1740.  
  1741.  
  1742.  
  1743.  
  1744.  
  1745.  
  1746.  
  1747.  
  1748.  
  1749.  
  1750.  
  1751.  
  1752.  
  1753.  
  1754.  
  1755.  
  1756.  
  1757.  
  1758.  
  1759.  
  1760.  
  1761.  
  1762.  
  1763.  
  1764.  
  1765.  
  1766.  
  1767.  
  1768.  
  1769.  
  1770.  
  1771.      Chapter 9 Pg 28       DSZ Reference Rev Dec-14-91       Typeset 12-14-91
  1772.  
  1773.  
  1774.      9.  EXAMPLES
  1775.  
  1776.      dsz sz c:foo.zip              (send 1 file with ZMODEM)
  1777.  
  1778.      dsz sz -m c:*.zip             (send all .ZIP files with MobyTurbo(TM))
  1779.  
  1780.      dsz sz f1.c f2.c f3.c         (send 3 files with ZMODEM)
  1781.  
  1782.      dsz sz c:foo.* b:*.c          (send multiple files with ZMODEM)
  1783.  
  1784.      dsz sz -Z *.lst               (send text files with ZMODEM compression)
  1785.  
  1786.      dsz sz -r bigone.zip          (CRASH RECOVERY: resume interrupted
  1787.      transfer)
  1788.  
  1789.      dsz rz -r                     (CRASH RECOVERY: resume interrupted
  1790.      transfer)
  1791.  
  1792.      dsz rz -rr                    (CRASH RECOVERY with file comparison)
  1793.  
  1794.      dsz handshake both sz yamdemo.zip       (Hardware+Software handshake)
  1795.  
  1796.      dsz sz -n *.*                 (send files that are newer or rx has no
  1797.      copy)
  1798.  
  1799.      dsz sz -Yn *.*                (Only send files that are newer than
  1800.      receiver's copy)
  1801.                                    (Do not send files that do not exist on
  1802.      receiver's disk)
  1803.  
  1804.      dsz rz C:/UPLOADS             (receive files to specified directory *)
  1805.  
  1806.      dsz port 2 speed 38400 handshake both restrict rz
  1807.                                    (Restrict provides protection for BBS's)
  1808.  
  1809.      dsz rz  -y prog.zip           (ZMODEM, single file pathname override)
  1810.  
  1811.      dsz z pr1 rx foo.dat          (XMODEM receive, remove file if error)
  1812.  
  1813.      dsz pO60 ro foo.dat           (XMODEM/OverThruster receive, GEnie MNP *)
  1814.  
  1815.      DSZ LRC L-Y NEWPROG.ZIP       (generate lower case "rc -y" command)
  1816.  
  1817.      dsz sz foo >debug.dmp         (Debugging data dump)
  1818.  
  1819.      dsz sz @C:/bbs/files.lst      (Indirect file list)
  1820.  
  1821.      dsz sz -u *.lst               (Unlink (Delete) files as they are sent)
  1822.  
  1823.      * Registered copies only
  1824.  
  1825.  
  1826.  
  1827.  
  1828.  
  1829.  
  1830.      Chapter 9 Pg 29       DSZ Reference Rev Dec-14-91       Typeset 12-14-91
  1831.  
  1832.  
  1833.      10.  BACKGROUND OPERATION
  1834.  
  1835.      Three DESQview description files are provided to demonstrate background
  1836.      operation with modest (66 kb window) memory requirements.  DSZ uses
  1837.      tight C/ASM code, table driven CRC generators, and buffered receive and
  1838.      transmit for good performance in the background without hogging CPU
  1839.      cycles.  On a QIC Labs 8 mHz PC-AT clone, DSZ can download files in the
  1840.      background (3 background clock ticks, 9 foreground clock ticks) with a
  1841.      throughput better than 9600 bps.
  1842.  
  1843.      GSZ operates under DESQview with 128k of memory.
  1844.  
  1845.      2S   Prompts for file name(s) and sends them with ZMODEM protocol.
  1846.           File: 2S-PIF.DVP
  1847.  
  1848.      2T   Talks to the modem and allows manual YMODEM (F3) or automatic
  1849.           ZMODEM downloads.  File: 2T-PIF.DVP
  1850.  
  1851.      2A   Like 2T, but using Quarterdeck's dvansi.com memory resident ANSI
  1852.           CRT device driver to process ANSI screen codes.  File: 2A-PIF.DVP
  1853.           DS.BAT is the batch file used by 2A.
  1854.  
  1855.      These files are written for a port 2 local connection and \TMP
  1856.      directory, but may be modified to suit your requirements using the
  1857.      DESQview CP command.  The W numeric allows DESQview to close the window
  1858.      after DSZ finishes, providing a pleasant user interface.
  1859.  
  1860.      Other DVPs, Scripts, and Batch files are available on the DESQView
  1861.      conference on the Sound of Music as DVDSZ20Z.ARC.
  1862.  
  1863.      Please consult the DESQview documentation for instructions on
  1864.      installation procedure for the DVP files.
  1865.  
  1866.      Operation at high speed (above 9600 bps) may require the DESQview
  1867.      "Optimize communications" performance Advanced Setup option.
  1868.  
  1869.      Newer versions of DESQview may require more "common memory" allocation
  1870.      (6-8 k bytes) to operate with DSZ.  Some versions of DESQview do not
  1871.      operate properly with DSZ; DESQview 2.0 is known to work, and DESQview
  1872.      2.25 is reported to have fixed bugs in intermediate versions.
  1873.  
  1874.      On 286 and 386 machines, some DESQview operations involve swapping
  1875.      memory contents with buffers in extended memory.  As with extended
  1876.      memory ramdisks and disk caches, this causes errors with high speed
  1877.      communications.  The considerations discussed in the "286 and 386
  1878.      Extended Memory" subchapter apply here.  Since this DESQview extended
  1879.      memory swapping is asynchronous with respect to DSZ's file transfers,
  1880.      "handshake slow" doesn't help here.  The solution is to force DESQview's
  1881.      memory swaps to use smaller blocks (with interrupts allowed between
  1882.      blocks) and/or use NS16550AN or NS16550AFN or Goldstar GM82C550 chips
  1883.      for the serial interface.
  1884.  
  1885.  
  1886.  
  1887.  
  1888.  
  1889.      Chapter 10 Pg 30      DSZ Reference Rev Dec-14-91       Typeset 12-14-91
  1890.  
  1891.  
  1892.      If you see funny characters on the screen while a program is loading,
  1893.      you have a conflict between the display adapter and QEMM memory manager
  1894.      which may cause lockups.  If so you must explicitly exclude the display
  1895.      adapter's memory with an EXCLUDE clause in QEMM's config.sys entry.
  1896.  
  1897.            ***********************************************************
  1898.                                      WARNING
  1899.      When running DSZ under a multi tasking system such as DESQview, do not
  1900.      allow two programs to access the same comm port at the same time.  At
  1901.      best, such actions will disrupt communications.  At worst, your computer
  1902.      will attempt to open a subspace channel to V'ger.
  1903.  
  1904.      Tell DESQview to use the SPECIFIC port number you are using, and not "Y"
  1905.      to the question: "Uses serial Ports (Y, N, 1, 2)"
  1906.  
  1907.      When running a comm program under DESQview or any related multitasking
  1908.      executive, DSZ must be called directly from the comm program, in the
  1909.      same window.  DO NOT open a separate window for DSZ unless you were
  1910.      about to power down the computer anyway.
  1911.            ***********************************************************
  1912.  
  1913.      With some communications programs, you can make the call, log in, and
  1914.      then exit (closing the window) without disconnecting the modem.  At this
  1915.      time you can fire up DSZ with the "t" command to allow YMODEM or ZMODEM
  1916.      downloads in a small window.
  1917.      Example File: 2A-PIF.DVP
  1918.  
  1919.      Alternatively, you can start DSZ from the DOS prompt, then type "AT"
  1920.      commands to the modem to call the bulletin board.  DESQview's "learn"
  1921.      facility may be helpful here.
  1922.  
  1923.      10.1  Windows 3
  1924.  
  1925.      Communications programs do not operate well under Windows 3 because
  1926.      Windows does not have true multitasking.
  1927.  
  1928.      10.2  VM
  1929.  
  1930.      According to Marshall Sutherland, Be sure to set IOPL3 mode to YES.
  1931.  
  1932.  
  1933.  
  1934.  
  1935.  
  1936.  
  1937.  
  1938.  
  1939.  
  1940.  
  1941.  
  1942.  
  1943.  
  1944.  
  1945.  
  1946.  
  1947.  
  1948.      Chapter 11 Pg 31      DSZ Reference Rev Dec-14-91       Typeset 12-14-91
  1949.  
  1950.  
  1951.      11.  FLOW CONTROL
  1952.  
  1953.      If you plan to send files over Telenet (PC-Pursuit), you must refer to
  1954.      the Pro-YAM or ZCOMM Reference manual (in ZCOMMDOC.ZIP) FLOW CONTROL
  1955.      chapter for vital information on flow control considerations necessary
  1956.      for proper operation of ZMODEM and other streaming protocols.
  1957.  
  1958.  
  1959.  
  1960.  
  1961.  
  1962.  
  1963.  
  1964.  
  1965.  
  1966.  
  1967.  
  1968.  
  1969.  
  1970.  
  1971.  
  1972.  
  1973.  
  1974.  
  1975.  
  1976.  
  1977.  
  1978.  
  1979.  
  1980.  
  1981.  
  1982.  
  1983.  
  1984.  
  1985.  
  1986.  
  1987.  
  1988.  
  1989.  
  1990.  
  1991.  
  1992.  
  1993.  
  1994.  
  1995.  
  1996.  
  1997.  
  1998.  
  1999.  
  2000.  
  2001.  
  2002.  
  2003.  
  2004.  
  2005.  
  2006.  
  2007.      Chapter 12 Pg 32      DSZ Reference Rev Dec-14-91       Typeset 12-14-91
  2008.  
  2009.  
  2010.      12.  ERROR MESSAGES
  2011.  
  2012.      COM2 1200 bps Carrier Detect enabled Handshake slow
  2013.      Command line = (commands)
  2014.      This is a normal message displayed to help resolve problems with
  2015.      incorrect batch files.  The port number, speed, carrier detect
  2016.      ("enabled" or "DISABLED") and "handshake" indicate the selected mode of
  2017.      operation.
  2018.  
  2019.      DSZ FINISHED! exit code = 0
  2020.      This is DSZ's normal exit when at least one file has been transferred
  2021.      and no unrecoverable errors have been detected.  If an error such as a
  2022.      failed file transfer had been detected, the exit code would be 1, or the
  2023.      value set in the Q numeric parameter.
  2024.  
  2025.      As the message implies, DSZ has done all of its processing, and has
  2026.      return the communications port and vector to its original value before
  2027.      displaying this message.  If the computer locks up after this message is
  2028.      displayed, there's something wrong with the program that called DSZ, not
  2029.      with DSZ itself.
  2030.  
  2031.      Unknown Machine Type XX, 'a' parameter preset to 6000 indicates a ROM
  2032.      BIOS that does not follow the IBM specification for identifying the
  2033.      machine type.  If your computer causes DSZ to display this message, you
  2034.      may set the a numeric parameter described elsewhere in this document.
  2035.      This message is generated before any commands are read, so do not be
  2036.      alarmed when you "discover" that setting the a parameter doesn't make
  2037.      this message go away.  The a parameter does not affect ZMODEM transfers.
  2038.  
  2039.      Please send us a postcard or letter indicating the reported hex value
  2040.      for machine Type, name of the computer, and its speed so we can include
  2041.      that machine type in a future release.
  2042.  
  2043.      Need more memory to run DSZ or Abnormal program termination is displayed
  2044.      by the TurboC startup routine if DSZ is run in too small a memory
  2045.      partition.  If you see this message, use a larger memory partition for
  2046.      DSZ or remove some memory resident programs.  This message may also
  2047.      appear if the calling program fails to free memory before calling DSZ.
  2048.  
  2049.      No Carrier Detect is displayed when DSZ recognizes a lack of carrier
  2050.      detect signal from the modem.  Most support calls concerning "No Carrier
  2051.      Detect" are caused by the user failing to tell DSZ to use the correct
  2052.      port.  DSZ does not magically divine the COM port number; if the default
  2053.      COM1 is incorrect, DSZ must be told what port to use with the port
  2054.      command or the DPORT environment variable.
  2055.  
  2056.      No Carrier Detect may also be caused by a line disconnect, defective
  2057.      cable, or incorrect modem strapping.  It may be disabled with the d
  2058.      command.  Sometimes this is caused by setting the B parameter to too
  2059.      large a value.
  2060.  
  2061.  
  2062.  
  2063.  
  2064.  
  2065.  
  2066.      Chapter 12 Pg 33      DSZ Reference Rev Dec-14-91       Typeset 12-14-91
  2067.  
  2068.  
  2069.      Garbage Count Exceeded Indicates ZMODEM has not detected a valid start
  2070.      of header in a reasonable number of characters.
  2071.  
  2072.      If DSZ becomes "stuck" on emitting this messages, it is possible the
  2073.      sending program may not be able to recognize and act upon transmission
  2074.      requests (ZROPS headers).  The sending program should be corrected.  In
  2075.      the meantime, setting a ZMODEM packet length with the "zmodem pl4096"
  2076.      ("l" is the small letter l) command will force the sender to wait for
  2077.      the receivers' progress reports.
  2078.  
  2079.      Permission denied comes from the Microsoft C Library.  This is caused by
  2080.      attempts to modify a read only file or directory, or to create a file in
  2081.      a nonexistent directory.
  2082.  
  2083.      A furtive flashing appearance of XOFF or FLOW during ZMODEM or YMODEM-g
  2084.      file sending signifies DSZ is responding to flow control restraint.
  2085.      This is normal operation when buffered modems or packet switched
  2086.      networks are used.  ZMODEM's robustness and reliability allow creative
  2087.      users to transfer files over unusual multiple computer lash-ups, causing
  2088.      modem data lights and computer status displays to dance in unfamiliar
  2089.      rhythms.
  2090.  
  2091.      Output FLow Control Restraint RELEASED Indcates DSZ has not received a
  2092.      positive flow control signal (XON and/or CTS as specified by the
  2093.      handshake command) within the timeout specified by the S numeric
  2094.      parameter.  This message may appear as the result of line noise.  If it
  2095.      appears often, it may indicate improper flow control settings, defective
  2096.      modem and/or cable, or (rarely) too small a value for the S numeric
  2097.      parameter.  A TSR program that monitors ring detect has also caused this
  2098.      problem.
  2099.  
  2100.      Not allowed to overwrite %s By default, DSZ will not overwrite an
  2101.      existing file.  Use the -y or -n or -r option to overwrite/update
  2102.      existing files.
  2103.  
  2104.  
  2105.      12.1  Got ZRPOS
  2106.  
  2107.      Got ZRPOS indicates the receiving program has detected a transmission
  2108.      error and has requested retransmission.  In other words, ZMODEM is doing
  2109.      its job of detecting and correcting missing and garbled data.
  2110.  
  2111.      If this happens with error correcting modems, or more often than
  2112.      observed line noise would suggest, the receiver's error messages must be
  2113.      studied.  "Line Status Register 01" messages indicate a flow control
  2114.      problem.  "Line Status Register 02" messages suggest a receiver problem
  2115.      with interrupt latency.
  2116.  
  2117.      Otherwise, the sender may have a flow control problem in one of four
  2118.      areas:
  2119.  
  2120.  
  2121.  
  2122.  
  2123.  
  2124.  
  2125.      Chapter 12 Pg 34      DSZ Reference Rev Dec-14-91       Typeset 12-14-91
  2126.  
  2127.  
  2128.        + Between the sending program and its modem.  If using an interface
  2129.          speed higher than the transmission speed, or modem to modem error
  2130.          correction (MNP, LAPB, PEP, etc.), check that the modem and the
  2131.          sending program are configured for the same flow control methods.
  2132.          Omen Technology's software is faster than most other programs, and
  2133.          may expose flow control problems not seen with slower software.
  2134.  
  2135.        + Between the sending modem and the network.  Correcting this requires
  2136.          "handshake both" to allow the sending program to honor both hardware
  2137.          (CTS) flow control from the modem and software flow control
  2138.          (XON/XOFF) from the network.
  2139.  
  2140.        + Between parts of the network, or between the host computer and its
  2141.          terminal server(s).  We have received a number of reports of
  2142.          problems with Cisco terminal servers.
  2143.  
  2144.        + Between the receiving modem and the receiving program.  This can
  2145.          happen at high transmission speeds when the receiver has specified a
  2146.          large I/O buffer size with the B numeric parameter.
  2147.  
  2148.          Excessive interrupt latency from extended memory ramdisks or disk
  2149.          caches, and poorly written hard disk drivers also wreak havoc on
  2150.          streaming protocols but do not affect start-stop protocols (XMODEM,
  2151.          etc.).  Problems with extended memory disk caches may cause errors
  2152.          at regular intervals; check the receiver's error messages.
  2153.  
  2154.          To work around these problems, give the "handshake slow" command to
  2155.          the receiver.
  2156.  
  2157.      12.2  Subpacket too Long
  2158.  
  2159.      This error may be caused by flow control problems at the sender (see
  2160.      above).
  2161.  
  2162.      12.3  Bad CRC
  2163.  
  2164.      This error may be caused by flow control problems at the sender (see
  2165.      above).
  2166.  
  2167.  
  2168.      12.4  Garbled Data Subpacket
  2169.  
  2170.      This error may be caused by flow control problems at the sender (see
  2171.      above).
  2172.  
  2173.      Byte NNNN retry M: <error message> These messages appear when the
  2174.      protocol has detected an error and is attempting to retransmit the
  2175.      garbled data.  These are normal messages.
  2176.  
  2177.  
  2178.  
  2179.  
  2180.  
  2181.  
  2182.  
  2183.  
  2184.      Chapter 12 Pg 35      DSZ Reference Rev Dec-14-91       Typeset 12-14-91
  2185.  
  2186.  
  2187.      12.5  Serial Input Error: Line Status Register xx
  2188.  
  2189.      Serial Input Error: Line Status Register HH indicates a hardware
  2190.      problem, slow device driver, TSR program, or other software is disabling
  2191.      interrupts too long for the program to accept incoming data, and some
  2192.      characters are lost.  A slow response to folow control also triggers
  2193.      this message.
  2194.  
  2195.      The value of the line status register is displayed in HEX.  The
  2196.      following error conditions are OR'ed into the Line Status Register.
  2197.  
  2198.  
  2199.      01   The Interrupt level circular buffer has been overrun.  This
  2200.           indicates a flow control problem.  The remote did not respond to
  2201.           DSZ's XOFF or hardware flow control signal, and continued to send
  2202.           characters after being told not to.  This problem is alleviated by
  2203.           matching flow control between the sending computer, modems, and the
  2204.           receiving computer.  Usually, the mismatch exists between the
  2205.           sending computer and its modem.
  2206.  
  2207.  
  2208.      02   An 02 value for the LSR indicates Data Overrun.  "Data Overrun"
  2209.           means the computer was not able to respond to an incoming character
  2210.           from the UART (modem) in time to make room for the next incoming
  2211.           character.  Data Overruns are caused by poorly designed software
  2212.           (or ROM BIOS "firmware") locking out interrupts for excessive
  2213.           periods.  These lockouts prevent the communications program from
  2214.           responding to the incoming characters quickly enough.
  2215.  
  2216.           To correct Data Overruns, you must correct the offending
  2217.           condition(s) to allow the communications program to operate
  2218.           properly.
  2219.  
  2220.           Common causes of excessively long interrupt lockouts ("critical
  2221.           code regions") are disk drivers (BIOS), window managers (Windows 3
  2222.           is terrible), disk caches, TSR programs, and EGA/VGA board auto-
  2223.           select.
  2224.  
  2225.           Slowing the CPU to allow games and other time dependent programs to
  2226.           be used can generate excessive interrupt latency.
  2227.  
  2228.           Some BIOS programs are written without regard to their effect on
  2229.           high speed communications.  Better versions of the offending BIOS
  2230.           programs may be made available if enough users complain about poor
  2231.           performance.
  2232.  
  2233.           Interrupt latency caused by EGA/VGA board auto-select can be often
  2234.           corrected by disabling the board's Auto-Select.
  2235.  
  2236.           Poorly written disk caches and disk drivers cause interrupt latency
  2237.           that affects streaming protocols (ZMODEM) but not start-stop
  2238.  
  2239.  
  2240.  
  2241.  
  2242.  
  2243.      Chapter 12 Pg 36      DSZ Reference Rev Dec-14-91       Typeset 12-14-91
  2244.  
  2245.  
  2246.           protocols such as XMODEM, YMODEM, JMODEM, Lynx, etc.  The handshake
  2247.           slow command can be used to stop reception during disk transfers.
  2248.  
  2249.           Other chapters in this document give suggestions for working around
  2250.           excessive interrupt latency by using the NS16550AN UART chip.
  2251.           Please refer to the "Brain Damaged UARTS" subchapter.
  2252.  
  2253.           Please try all the suggestions mentioned here before contacting
  2254.           Omen Technology about data overruns.
  2255.  
  2256.  
  2257.      08   Framing Error generally caused by line noise or an incorrect
  2258.           transmission speed ("baud rate") or format (number of bits).  Also
  2259.           caused by some cheap internal modems.  Most protocols require 8
  2260.           bits no parity (-8n) for proper operation.  This is set
  2261.           automatically by Omen Technology programs, but other programs may
  2262.           not be so smart.
  2263.  
  2264.  
  2265.      10   Break Interrupt generally caused by line noise or an incorrect
  2266.           transmission speed ("baud rate") or format (number of bits).  Also
  2267.           caused by some cheap internal modems.
  2268.  
  2269.  
  2270.      18   Framing Error and Break Interrupt (see above) in combination.
  2271.  
  2272.           This error may also be caused by defective 8250 UART chips.  Some
  2273.           internal modem cards have slow 8250 chips that do not operate
  2274.           properly with computers faster than 4.77 mHz.  Replacing the 8250
  2275.           with a NS16550AN is recommended.  Please refer to the "Brain
  2276.           Damaged UARTS" subchapter for details.
  2277.  
  2278.      Please refer to the In Case of Difficulty chapter of this document for
  2279.      solutions.
  2280.  
  2281.      Less commonly encountered DSZ error messages are explained in the Pro-
  2282.      YAM manual.
  2283.  
  2284.  
  2285.      12.6  No Carrier Detect
  2286.  
  2287.      If you see a No Carrier Detect message, and you haven't lost the
  2288.      connection, you should fix your modem cable or modem settings to allow
  2289.      proper operation of the Carrier Detect signal (CD).
  2290.  
  2291.      A poorer alternative is to give the d command:  dsz port 1 speed 2400 d
  2292.      t
  2293.  
  2294.  
  2295.  
  2296.  
  2297.  
  2298.  
  2299.  
  2300.  
  2301.  
  2302.      Chapter 12 Pg 37      DSZ Reference Rev Dec-14-91       Typeset 12-14-91
  2303.  
  2304.  
  2305.      12.7  Port %d (%X) defective
  2306.  
  2307.      When DSZ selects a serial port, it performs a quick hardware check to
  2308.      verify the presence and minimal functionality of the 8250 family UART.
  2309.      This message usually means a nonexistent port has been selected.
  2310.  
  2311.      Reports have been received of functional but nonstandard UART chips
  2312.      triggering this message.
  2313.  
  2314.  
  2315.      12.8  COMMAND NOT FOUND
  2316.  
  2317.      If you see this message, make sure DSZ is in the DOS PATH.  Sometimes
  2318.      this error is caused by having too many environment variable strings.
  2319.  
  2320.  
  2321.      12.9  Out of Environment
  2322.  
  2323.      means there is not enough room in the program environment to accept more
  2324.      data.
  2325.  
  2326.      DOS prints this message when it cannot allocate more memory to
  2327.      accommodate a "set" command, such as "set dirrx=c:/downloads/".
  2328.  
  2329.      Try moving the "set" commands to the batch file that calls your comms
  2330.      program, or to your AUTOEXEC.BAT file.
  2331.  
  2332.      To increase environment, use the /E switch. The default is 160 bytes.
  2333.  
  2334.      An example for your CONFIG.SIS file: SHELL=C:COMMAND.COM/E:256
  2335.  
  2336.      NOTE: Large environments may cause DSZ.COM to lockup.  This is less of a
  2337.      problem with DSZ.EXE.
  2338.  
  2339.  
  2340.  
  2341.  
  2342.  
  2343.  
  2344.  
  2345.  
  2346.  
  2347.  
  2348.  
  2349.  
  2350.  
  2351.  
  2352.  
  2353.  
  2354.  
  2355.  
  2356.  
  2357.  
  2358.  
  2359.  
  2360.  
  2361.      Chapter 13 Pg 38      DSZ Reference Rev Dec-14-91       Typeset 12-14-91
  2362.  
  2363.  
  2364.      13.  SLOW TRANSFERS
  2365.  
  2366.      Some users report slower than expected file transfers even when few or
  2367.      no errors are reported.  Some possible causes are:
  2368.  
  2369.      If "handshake slow" is used, throughput may suffer.  Try one of the
  2370.      other solutions to the "Line Status Register = 02" errors discussed
  2371.      above.  When using "handshake slow" it may be possible to increase the
  2372.      modem's interface speed to 19200 bps or faster.
  2373.  
  2374.      Bad phone lines will silently slow MNP modems, sometimes without any
  2375.      error indications.  If the modems disconnect fairly often you should
  2376.      suspect marginal phone line conditions that are being hidden by MNP
  2377.      error correction.
  2378.  
  2379.      One of the programs may have set a parameter or option that acts to slow
  2380.      the transfer under certain conditions.
  2381.  
  2382.  
  2383.  
  2384.  
  2385.  
  2386.  
  2387.  
  2388.  
  2389.  
  2390.  
  2391.  
  2392.  
  2393.  
  2394.  
  2395.  
  2396.  
  2397.  
  2398.  
  2399.  
  2400.  
  2401.  
  2402.  
  2403.  
  2404.  
  2405.  
  2406.  
  2407.  
  2408.  
  2409.  
  2410.  
  2411.  
  2412.  
  2413.  
  2414.  
  2415.  
  2416.  
  2417.  
  2418.  
  2419.  
  2420.      Chapter 14 Pg 39      DSZ Reference Rev Dec-14-91       Typeset 12-14-91
  2421.  
  2422.  
  2423.      14.  IN CASE OF DIFFICULTY
  2424.  
  2425.      14.1  LOCKUPS
  2426.  
  2427.      14.1.1  Insufficient Memory
  2428.      DSZ complains when it detects insufficient memory to operate.  When
  2429.      calling DSZ from another program, there may be ALMOST enough memory for
  2430.      proper operation, but DSZ locks up during a transfer or the calling
  2431.      program freezes after DSZ displays the "DSZ Finished" message.
  2432.  
  2433.      Sometimes there is a message about insufficient memory, sometimes just a
  2434.      lockup and no message.  To verify this problem, call CHKDSK from within
  2435.      your comms program (not from DOS!) by defining it as an external
  2436.      protocol.  If you use an interface program (Hotkeyz, Prodoor, etc.), you
  2437.      must call CHKDSK from that program, as those programs also reduce the
  2438.      memory available to DSZ.
  2439.  
  2440.      CHKDSK should report at least 64k free memory.  If less memory is
  2441.      reported, reduce the size of the COMMS program's capture buffer, or
  2442.      reboot the system with fewer/smaller device drivers and TSR programs.
  2443.      Calling DSZ directly from the comms program instead of from an interface
  2444.      also saves memory.
  2445.  
  2446.  
  2447.      14.1.2  Environment TOO BIG
  2448.      A large environment may cause DSZ.COM to lockup.  The size of the
  2449.      environment (the amount of text you get when you give the DOS "set"
  2450.      command) is subtracted from the data space available to 8086 C programs.
  2451.      This can be a problem with DSZ.COM, whose 8086 tiny model limits code,
  2452.      data, stack, and environment to 64 kb TOTAL.  Use DSZ.EXE (compiled with
  2453.      8086 small model) to alleviate this problem.
  2454.  
  2455.  
  2456.      14.1.3  Bad COM Port Configuration
  2457.      DSZ is fastidious about which interrupt vectors it takes over.  Unlike
  2458.      some programs, DSZ uses only the correct interrupt vector for its
  2459.      interrupt service routine.  (This allows multitasking.)
  2460.  
  2461.      DSZ obtains and releases this vector with standard DOS function calls.
  2462.      This allows multi line operation under DESQview and other multitasking
  2463.      systems.
  2464.  
  2465.      Incorrectly configured serial ports that work with programs that pig out
  2466.      both IRQ3 and IRQ4 will lock up with DSZ.  If DSZ locks up the machine
  2467.      as soon as it tries to send or receive data, this is usually the fault.
  2468.      Make sure the comm port is strapped correctly; COM1 uses IRQ4, COM2 uses
  2469.      IRQ3.  DSZ will lock up if the comm port is not properly set up.
  2470.  
  2471.      In addition, DSZ will not work properly if two devices are connected to
  2472.      the same IRQ line, even when some other programs (that don't use
  2473.      interrupts as intensively) do work normally on the same machine.
  2474.  
  2475.  
  2476.  
  2477.  
  2478.  
  2479.      Chapter 14 Pg 40      DSZ Reference Rev Dec-14-91       Typeset 12-14-91
  2480.  
  2481.  
  2482.      COM3 and above are not widely standardized.  If you have problems with
  2483.      COM3, chances are your "COM3" is non standard.
  2484.  
  2485.  
  2486.      14.1.4  LAN Manager Conflicts
  2487.      Some Local Area Network (LAN) managers take over comm ports using code
  2488.      that interferes with DSZ.
  2489.  
  2490.      The following hint is from Tom Louvaris, LANtastic Sales/Support - New
  2491.      York.  Other LAN mamagers may require similar incantations to keep the
  2492.      LAN manager from messing with DSZ's comm port.
  2493.  
  2494.      Problem: When the lan is running, DSZ intermittantly fails.  DSZ starts
  2495.      the transfer by displaying "Ready to send pathname".  The receiving
  2496.      system does noting.  Eventually, DSZ exits with code 1, and no file is
  2497.      sent.
  2498.  
  2499.      To release one or more Com Ports with LANtastic 3.x, enter the
  2500.      following...
  2501.  
  2502.              Net Queue Halt \Sever-name Comn
  2503.  
  2504.  
  2505.      Note: You must be logged on to "Server-name" with Queue priveleges to
  2506.  
  2507.  
  2508.  
  2509.  
  2510.  
  2511.  
  2512.  
  2513.  
  2514.  
  2515.  
  2516.  
  2517.  
  2518.  
  2519.  
  2520.  
  2521.  
  2522.  
  2523.  
  2524.  
  2525.  
  2526.  
  2527.  
  2528.  
  2529.  
  2530.  
  2531.  
  2532.  
  2533.  
  2534.  
  2535.  
  2536.  
  2537.  
  2538.      Chapter 14 Pg 41      DSZ Reference Rev Dec-14-91       Typeset 12-14-91
  2539.  
  2540.  
  2541.      enable the operation of this command.
  2542.  
  2543.      14.2  Incorrect Batch Files
  2544.  
  2545.      Incorrect batch files are the number one source of problems using DSZ
  2546.      for uploads and downloads.  Bulletin board programs with convoluted
  2547.      batch file mechanisms exacerbate the problem.
  2548.  
  2549.      DSZ's command line echo was added to assist in correcting defective
  2550.      batch files.  You should see a display like:
  2551.  
  2552.      Command line = 'rz '
  2553.      or
  2554.      Command line = 'port 2 speed 9600 sz foo.baz '
  2555.  
  2556.      You may have to add a "pause" command at the end of the batch file to
  2557.      allow DSZ's messages to be seen.  Another possibility is to turn on the
  2558.      printer with ^P before running DSZ, so DSZ's message can be saved on
  2559.      paper.
  2560.  
  2561.      In general, the Command line display should look like one of the
  2562.      examples in this document or those displayed by DSZ itself.  (The
  2563.      Command line display does not include the name of the DSZ program
  2564.      itself.)
  2565.  
  2566.      Try running DSZ by itself, without any batch files or TSR programs,
  2567.      calling it directly from DOS as described above.
  2568.  
  2569.  
  2570.      14.3  Cheap Internal Modems
  2571.  
  2572.      Numerous trouble reports have been received lately caused by cheap
  2573.      internal modems causing errors on ZMODEM transfers but not XMODEM.  A
  2574.      similar problem was experienced in the mid 80's during beta testing of
  2575.      some 2400 bps modems.  Perhaps defective LSI chips left over from those
  2576.      days were cloned or recovered from the trash bin.
  2577.  
  2578.  
  2579.      14.4  Commands Entered in Upper Case
  2580.  
  2581.      Most DSZ commands and options must be entered in lower case (small
  2582.      letters, not big letters).  Where the documentation or help screen
  2583.      indicates "rz", you must use "rz" and not "RZ".
  2584.  
  2585.  
  2586.      14.5  No Carrier Detect
  2587.  
  2588.      If you see a No Carrier Detect message, and you haven't lost the
  2589.      connection, you should fix your modem cable or modem settings to allow
  2590.      proper operation of the Carrier Detect signal (CD).
  2591.  
  2592.  
  2593.  
  2594.  
  2595.  
  2596.  
  2597.      Chapter 14 Pg 42      DSZ Reference Rev Dec-14-91       Typeset 12-14-91
  2598.  
  2599.  
  2600.      A poorer alternative is to give the d command:  dsz port 1 speed 2400 d
  2601.      t
  2602.  
  2603.  
  2604.      14.6  DOS 3.x
  2605.  
  2606.      DOS 3.x systems may need to have a "STACKS = 8,256" line in CONFIG.SYS
  2607.      to prevent antisocial behavior. This is required on the NEC Multispeed,
  2608.      or if certain TSR's are used.
  2609.  
  2610.  
  2611.      14.7  Perstor Controllers
  2612.  
  2613.      Several reports have been received indicating Perstor disk controllers
  2614.      interfere with data communications.  Perstor is reportedly working on a
  2615.      fix.
  2616.  
  2617.  
  2618.      14.8  IBM PS/2 Model 50Z
  2619.  
  2620.      Early samples of this machine have a design error on the motherboard
  2621.      that causes comms programs to lock up the machine.  Replacing the
  2622.      motherboard with a correctly functioning unit from current production
  2623.      corrects the problem.  The part number of the replacement PS2/50 Z
  2624.      motherboard is 35F5928.  (Information provided by John M. Choma
  2625.      73047,3566) U.S. IBM has stonewalled on this issue, but in December 1988
  2626.      agreed to replace the defective motherboards under warranty.
  2627.  
  2628.  
  2629.      14.9  Brain Damaged UARTS
  2630.  
  2631.      Omen Technology has received reports of problems with buggy 8250 type
  2632.      UART integrated circuits in Leading Edge modem boards, serial port
  2633.      interfaces, and computers.  The defective chip logic affects high
  2634.      performance software.  Replacing the buggy chip with a newer chip
  2635.      (NS16550AN) corrects the problem.
  2636.  
  2637.      The UM82450 chip in the Zoom 2400HC also appears to cause problems.
  2638.      Zoom Telephonics advises that this problem is limited to their old
  2639.      model.  The old model is inentifiable by an external volume control.
  2640.  
  2641.      You can identify an old chip by inspecting the serial interface board
  2642.      for 8250 or UM82450 type devices.  A service technician or hardware
  2643.      hacker can help if you are not familiar with reading chip numbers.
  2644.  
  2645.      Dsz users can identify old chips with the following software command:
  2646.  
  2647.      EXAMPLE: dsz port 1 speed 2400 p
  2648.  
  2649.      ZCOMM and Professional-YAM users can look at the printout produced by
  2650.      the s command;  old UART chips register as TYP 0.
  2651.  
  2652.  
  2653.  
  2654.  
  2655.  
  2656.      Chapter 14 Pg 43      DSZ Reference Rev Dec-14-91       Typeset 12-14-91
  2657.  
  2658.  
  2659.      The National Semiconductor NS16550AN is a pin compatible plug in
  2660.      replacement for 8250 and 16450 serial chips.  Omen Technology software
  2661.      enables the FIFO buffer in the NS16550AN to prevents loss of data from
  2662.      poorly written device drivers, TSR programs, etc.
  2663.  
  2664.      We are also using the Goldstar GM82C550 chip with a 9025 date code.
  2665.      This Goldstar chip is plug compatible with the National chips.  No
  2666.      problems have been discovered with this chip.
  2667.  
  2668.      The NS16550AN has better electrical characteristics than the older UART
  2669.      chips.  386 and fast 286 machines should use the NS16550AN for best
  2670.      results.  Omen Technology software has been written to allow time for
  2671.      the older UART chips to operate. However, there is a limit to how much
  2672.      the software can rearrange chip accesses without resorting to
  2673.      performance robbing wait loops.  Some other software is not as forgiving
  2674.      of slow chips.
  2675.  
  2676.      Be sure to ask for the NS16550AN.  It is VITAL to get the National
  2677.      Semiconductor "AFN" or "AN" chip.  Other vendors' chips not mentioned
  2678.      above won't do.  Current Western Digital WD16C550 chips do not function
  2679.      properly at low speeds.
  2680.  
  2681.      As of this writing, the Goldstar GM82C550, National Semiconductor
  2682.      NS16550AN and NS16550FAN are the only plug compatible chips that are
  2683.      known to work.
  2684.  
  2685.      The Hayes ESP board comes with two serial ports with NS16550A devices.
  2686.      The ESP definitions for COM3 and COM4 agree with the industry standard
  2687.      definitions used by Omen Technology.
  2688.  
  2689.      The following information comes from a number of people:
  2690.  
  2691.      "I have located a small dealer in New York who has the cards with or
  2692.      without the 16550.  I believe the price is around $50.00.  The company
  2693.      is RJK Consulting and the number is 718-968-9167. The gentleman to speak
  2694.      to is a Mr. RJ Kulman. ...  I got this information off the "Interlink"
  2695.      BBS system." Fm: Nick Braak [TRICON] 75156,1254
  2696.  
  2697.      Fry's - 415-770-FRYS.  This is a Silicon Valley electronic department
  2698.      store.
  2699.  
  2700.      Jameco Electronics at 415-592-8097 sells National NS16550AN chips mail
  2701.      order (credit card) in small quantities.  Unfortunately, we have
  2702.      received a number of reports that their serial i/o card is now supplied
  2703.      with the infamous WD16C550 soldered in, even when ordered with specific
  2704.      instructions to include 16550AN chips.
  2705.  
  2706.      Microprocessors Unlimited, 24000 South Peoria, Beggs, OK. (918) 267-
  2707.      4961. The price for the chip is $13.50 plus shipping costs. No minimun
  2708.      purchase is required.
  2709.  
  2710.  
  2711.  
  2712.  
  2713.  
  2714.  
  2715.      Chapter 14 Pg 44      DSZ Reference Rev Dec-14-91       Typeset 12-14-91
  2716.  
  2717.  
  2718.      Consolidated Computers 4 Shoppers Lane Suite 121 Turnersville, NJ  08012
  2719.      (609)751-9595(voice) (609)751-3843(bbs) (609)751-3840(fax)
  2720.  
  2721.      Arrow Electronics at 800-932-7769 (516-467-1000).
  2722.  
  2723.      Willies Computer Software Company: 800/835-4832.
  2724.  
  2725.      N.B.: Current Western Digital WD16C550 chips do not function properly at
  2726.      low speeds.  This has been confirmed with samples received directly from
  2727.      Western Digital.  WD is aware of this problem, but has not informed us
  2728.      of a corrected chip.
  2729.  
  2730.  
  2731.  
  2732.      14.9.1  Everex Internal Modems
  2733.      Numerous reports have been received concerning difficulties with Everex
  2734.      modem cards.  Some of these cards contain buggy 8250 chips which are not
  2735.      up to the demands of full duplex streaming protocols such as ZMODEM.
  2736.      Replacing the buggy 8250 chip with NS16550AN chip corrects these
  2737.      problems.
  2738.  
  2739.  
  2740.      14.10  Weird Iron
  2741.  
  2742.      A few machines, some with V20 CPUs, reportedly don't like DSZ.COM.  We
  2743.      have not been able to repeat this; TeleGodzilla (using a V20) runs
  2744.      DSZ.COM without a hitch.  Switching to DSZ.EXE has cleared up the
  2745.      problems on other machines.
  2746.  
  2747.  
  2748.      14.11  PKARC 3.6
  2749.  
  2750.      It has been reported that PK36 grabs some interrupts and doesn't restore
  2751.      them on exit in an attempt to prevent hacks of the program.  Since
  2752.      eliminating that particular version and cleaning up memory, high speed
  2753.      transfers even with 8250 UARTS work properly again.
  2754.  
  2755.      The problem with PK 3.6 appears to be most severe if a BBS operator has
  2756.      doorware, etc that accesses the PK programs from a shell of some sort.
  2757.      This info may be helpful to users who are having otherwise inexplicable
  2758.      file transfer problems.
  2759.  
  2760.      Phil Katz has written me that this problem has been corrected in
  2761.      subsequent versions.
  2762.  
  2763.  
  2764.  
  2765.  
  2766.  
  2767.  
  2768.  
  2769.  
  2770.  
  2771.  
  2772.  
  2773.  
  2774.      Chapter 14 Pg 45      DSZ Reference Rev Dec-14-91       Typeset 12-14-91
  2775.  
  2776.  
  2777.      14.12  Will the real YMODEM please stand up?
  2778.  
  2779.      Some XMODEM programs claiming to support YMODEM neither send nor accept
  2780.      the YMODEM pathname block.  1024 byte XMODEM is XMODEM-1k, not the
  2781.      YMODEM defined by Ward Christensen in 1985 when he invented the term
  2782.      YMODEM.  1987 and later versions of YMODEM.DOC remind the reader of the
  2783.      official YMODEM definition, which has not changed since YMODEM's coinage
  2784.      in 1985.
  2785.  
  2786.  
  2787.      14.13  286 and 386 Extended Memory
  2788.  
  2789.      Virtual memory disk caches and ramdisks using 80286 or 80386 extended
  2790.      memory require a kludge hardware reset of the CPU chip to return to the
  2791.      normal "real mode" after accessing extended memory.  This interference
  2792.      to the interrupt response time causes lost characters on comm ports, and
  2793.      may be minimized by specifying shorter memory transfers.
  2794.  
  2795.      Switching to a Goldstar GM82C550, National NS16550AN or NS16550AFN UART
  2796.      chip helps tremendously, allowing transfers at 115200 bps instead of
  2797.      9600 bps with a standard 8250.  Please refer to the subchapter on "Brain
  2798.      Damaged UARTs".  The DSZ "handshake slow" command may also help.
  2799.  
  2800.  
  2801.      14.14  Disk Caches
  2802.  
  2803.      Cache programs often interfere with ZMODEM transfers.  In one instance,
  2804.      replacing Microsoft's SMARTDRV.SYS with Multisoft's SUPERPCK.EXE helped.
  2805.  
  2806.      Some cache programs can be turned on and off; try turning it off when
  2807.      running DSZ.
  2808.  
  2809.      Switching to a National NS16550AN or NS16550AFN UART chip helps
  2810.      tremendously, allowing transfers at 115200 bps instead of 9600 bps with
  2811.      a standard 8250.  Please refer to the subchapter on "Brain Damaged
  2812.      UARTs".  The DSZ "handshake slow" command may also help.
  2813.  
  2814.  
  2815.  
  2816.  
  2817.  
  2818.  
  2819.  
  2820.  
  2821.  
  2822.  
  2823.  
  2824.  
  2825.  
  2826.  
  2827.  
  2828.  
  2829.  
  2830.  
  2831.  
  2832.  
  2833.      Chapter 15 Pg 46      DSZ Reference Rev Dec-14-91       Typeset 12-14-91
  2834.  
  2835.  
  2836.      15.  ASSOCIATED DOCUMENTS
  2837.  
  2838.      Consult the Professional-YAM, PowerCom, or ZCOMM manual chapter "OPTIONS
  2839.      FOR FILE TRANSFERS" for descriptions of the file transfer options.  The
  2840.      "FILE TRANSFER BASICS" chapter explains the relative merits of XMODEM,
  2841.      YMODEM, ZMODEM, and other protocols and gives tips on their use.  The
  2842.      "MAIN COMMANDS" chapter describes the rb, rx, rc, rz, sb, and sz
  2843.      commands.  The "MODEM INTERFACING" and "FLOW CONTROL" chapters contain
  2844.      important information on the use of buffered modems with DSZ.
  2845.  
  2846.      Information on the ZMODEM Inter Application File Transfer Protocol is
  2847.      available in Omen Technology's "ZMODEM DEVELOPER's COLLECTION" ($89.00).
  2848.  
  2849.      Unix/Xenix C Source code for XMODEM, YMODEM, and ZMODEM transfers
  2850.      to/from Omen Technology Products is included in RZSZ.ZOO.[1] This file
  2851.      includes a Pro-YAM/ZCOMM script to upload a bootstrap file to a Unix
  2852.      system, compile it, and (if the compilation is successful) upload the
  2853.      rz/sz source files.
  2854.  
  2855.  
  2856.  
  2857.  
  2858.  
  2859.  
  2860.  
  2861.  
  2862.  
  2863.  
  2864.  
  2865.  
  2866.  
  2867.  
  2868.  
  2869.  
  2870.  
  2871.  
  2872.  
  2873.  
  2874.  
  2875.  
  2876.  
  2877.  
  2878.  
  2879.  
  2880.  
  2881.  
  2882.  
  2883.      __________
  2884.  
  2885.       1. Technical support for rzsz is available on a paid consulting basis.
  2886.  
  2887.  
  2888.  
  2889.  
  2890.  
  2891.  
  2892.      Chapter 16 Pg 47      DSZ Reference Rev Dec-14-91       Typeset 12-14-91
  2893.  
  2894.  
  2895.      16.  FILES
  2896.  
  2897.      Some of the batch files mentioned in this document are not included in
  2898.      the archives.  Those that are needed can be readily created with your
  2899.      favorite editor.
  2900.  
  2901.      DSZ.COM, DSZ.DOC, 2A-PIF.DVP, 2S-PIF.DVP, 2T-PIF.DVP, BBS_REG.TXT,
  2902.      DS.BAT, FIX.BAT, MAILER, ZMODEMAD.BAT, ZMODEMD.BAT, ZMODEMDR.BAT, and
  2903.      ZMODEMU.BAT constitute Omen Technology's DSZ.ZIP.  These same files are
  2904.      in DSZ.ZOO on the distribution diskette mailed to registered users.[1]
  2905.  
  2906.      2S-PIF.DVP, 2A-PIF.DVP, DS.BAT, and 2T-PIF.DVP are used with Quarterdeck
  2907.      Office Systems' DESQview multitasking executive for background
  2908.      operation.  Their use is described in a previous chapter of this
  2909.      document.
  2910.  
  2911.      DGSZ.ZOO is distributed to GSZ registrants.  It contains GSZ.EXE and
  2912.      GCOLORS.EXE in addition to the above.
  2913.  
  2914.      ZCOMMDOC.ZIP (manual), ZCOMMEXE.ZIP (programs), ZCOMMHLP.ZIP (help
  2915.      processor and database), make up the ZCOMM communications tools
  2916.      shareware distribution.  The ZCOMM files are available on finer bulletin
  2917.      boards.
  2918.  
  2919.      RZSZ.ZOO contains ZMODEM "C" source code for COMPLETE Unix/Xenix
  2920.      programs licensed for use transferring files to/from licensed Omen
  2921.      Technology products.[2]
  2922.  
  2923.      RZSZ.TLB The ZMODEM rz/sz programs are available in native VMS flavors
  2924.      with wild cards, record format support, etc..  Pre compiled VAX/VMS
  2925.      files are contained in the RZSZ.TLB compressed text library.
  2926.  
  2927.      DSZ.EXE compiled with the Xenix to DOS XC may give moderately higher
  2928.      maximum throughput noticeable on slower machines.  Sending from a faster
  2929.      machine to an 8 MHz IBM AT with 16550FAN, using 115200 bps and "sz -yZ
  2930.      rttypix":
  2931.  
  2932.      Program                       Throughput
  2933.  
  2934.      DSZ.EXE                       12735 cps
  2935.  
  2936.  
  2937.      __________
  2938.  
  2939.       1. DSZ.ZOO is supplied to registrants instead of DSZ.ZIP because not
  2940.          all registrants have copies of unarchiving programs.  The
  2941.          registration disk includes a copy of BOOZ, a simple dearchiver for
  2942.          ZOO files.
  2943.  
  2944.       2. Technical support for rzsz is available on a paid consulting basis.
  2945.  
  2946.  
  2947.  
  2948.  
  2949.  
  2950.  
  2951.      Chapter 16 Pg 48      DSZ Reference Rev Dec-14-91       Typeset 12-14-91
  2952.  
  2953.  
  2954.      DSZ.COM                       7164 cps
  2955.  
  2956.      ProComm+2.0                   5928 cps
  2957.  
  2958.      (Compare these speeds to those listed on Page 159 of the April 30, 1991
  2959.      issue of PC Magazine.  Results are even better with the compressible
  2960.      file used in the PC Magazine tests.)
  2961.  
  2962.      DSZ.EXE supports ZMODEM over 7 bit paths (E and P options), and
  2963.      specified control character quoting (-Q<string> option).  The DSZ.EXE
  2964.      requires somewhat more memory than DSZ.COM.  DSZ.EXE does not support
  2965.      file sharing due to brain damage in the Microsoft C library.  The
  2966.      maximum DSZ.EXE I/O buffer size available with the B numeric parameter
  2967.      is 16384.  DSZ.EXE is available in DSZEXE.ZIP and DSZEXE.ZOO.
  2968.  
  2969.      ZCOMM and Pro-YAM also run faster than DSZ.COM.
  2970.  
  2971.      DSZBG.ZOO contains DSZBG.DOC.  Part of the DSZ registration disk, this
  2972.      file provides background information on the ZCOMM/Pro-YAM commands
  2973.      provided in DSZ and GSZ.
  2974.  
  2975.      The ZOO archive format is a machine independent improvement on the PC-
  2976.      DOS specific .ARC format. The ZOO format has been precisely defined, and
  2977.      stable ZOO archivers/dearchivers are available on a wide variety of
  2978.      systems.
  2979.  
  2980.      BOOZ.EXE unpacks .ZOO archives.  BOOZ.DOC describes BOOZ.EXE.
  2981.  
  2982.  
  2983.  
  2984.  
  2985.  
  2986.  
  2987.  
  2988.  
  2989.  
  2990.  
  2991.  
  2992.  
  2993.  
  2994.  
  2995.  
  2996.  
  2997.  
  2998.  
  2999.  
  3000.  
  3001.  
  3002.  
  3003.  
  3004.  
  3005.  
  3006.  
  3007.  
  3008.  
  3009.  
  3010.      Chapter 17 Pg 49      DSZ Reference Rev Dec-14-91       Typeset 12-14-91
  3011.  
  3012.  
  3013.      17.  Other Omen Technology Products
  3014.  
  3015.      17.1  Professional-YAM COMMS TOOLS
  3016.  
  3017.      Omen Technology makes Professional-YAM, a comprehensive comms program
  3018.      with unmatched power.  Flavors are available for PC-DOS, Unix, Xenix,
  3019.      and OS/2 Protected mode.  Unix source code is available under license.
  3020.  
  3021.  
  3022.      17.2  ZCOMM: Industrial Strength COMMS Shareware
  3023.  
  3024.      ZCOMM is a full featured shareware version with a $40.00 basic
  3025.      registration.  Registered DSZ users upgrading to ZCOMM get a free
  3026.      binder!
  3027.  
  3028.  
  3029.      17.3  ZMODEM Developer's Collection
  3030.  
  3031.      Omen Technology sells the "ZMODEM Developer's Collection" for $89.00.
  3032.      This diskette includes the most recent public domain versions of
  3033.      YMODEM.DOC, ZMODEM.DOC and the Unix/VMS rz/sz C source code for YMODEM
  3034.      and ZMODEM.  Porting to the intended application is the sole
  3035.      responsibility of the purchaser.  For many developers, this collection
  3036.      affords a significant labor savings in obtaining these materials.
  3037.  
  3038.  
  3039.  
  3040.  
  3041.  
  3042.  
  3043.  
  3044.  
  3045.  
  3046.  
  3047.  
  3048.  
  3049.  
  3050.  
  3051.  
  3052.  
  3053.  
  3054.  
  3055.  
  3056.  
  3057.  
  3058.  
  3059.  
  3060.  
  3061.  
  3062.  
  3063.  
  3064.  
  3065.  
  3066.  
  3067.  
  3068.  
  3069.      Chapter 18 Pg 50      DSZ Reference Rev Dec-14-91       Typeset 12-14-91
  3070.  
  3071.  
  3072.      18.  FAIR PLAY
  3073.  
  3074.      Unlike snazzy menu interfaces, reliable high speed transfer protocols
  3075.      take many hours of testing, often over expensive phone connections, to
  3076.      develop.  Two decades of communications experience and protocol testing
  3077.      are distilled in DSZ.
  3078.  
  3079.      DSZ is a user supported program developed and supported by Chuck
  3080.      Forsberg, owner of Omen Technology.  Countless hours of work and
  3081.      expen$ive resources went to develop and support DSZ for the myriad
  3082.      environments users use it in.  The fact that most of the problems people
  3083.      encounter with DSZ are caused by other software, hardware problems,
  3084.      failure to read the supplied documentation, or pirating has not kept
  3085.      users from seeking and getting help, even if it means calling the author
  3086.      in the middle of his sleep.
  3087.  
  3088.      Beyond this, the world of communications is constantly evolving, and it
  3089.      requires a significant ongoing effort to keep DSZ and its documentation
  3090.      up to date with the current state of the art.  Individuals with little
  3091.      knowledge of the dynamic nature of telecommunications (or hidden
  3092.      agendas) have misrepresented the frequency of enhancements to DSZ as a
  3093.      sign that DSZ is "unstable" and unworthy of "serious consideration".  If
  3094.      you think such sniping is fair play, you are more than welcome to use
  3095.      one of the many other protocol programs available, each of which claim
  3096.      to offer speed and reliability comparable to DSZ.
  3097.  
  3098.      Non registered users are welcome to use DSZ for a reasonable evaluation
  3099.      period.  "Reasonable" means "until you've decided whether the program is
  3100.      worth $20.00." It does not mean "until some competing program gets
  3101.      around to adding ZMODEM or True Ymodem(TM)".  Once you've evaluated DSZ,
  3102.      ethical use of DSZ requires registering the copy.
  3103.  
  3104.      DSZ is not and never has been Public Domain.  Every version of DSZ has
  3105.      included a Copyright Notice and a prohibition against sale or
  3106.      modification.  There is no usage counter or other Trojan Horse in DSZ,
  3107.      but if you use this program, you have a moral and ethical obligation to
  3108.      register it.
  3109.  
  3110.      Paid registration enables t -8g, DIRRX, DSZOPT, OverThruster(TM),
  3111.      YMODEM-g, and other advanced features that are present in DSZ.ZIP in
  3112.      encrypted form.  The registration package serializes and decodes all
  3113.      past and future versions of DSZ.COM and DSZ.EXE.  You can get a fully
  3114.      featured upgrade of DSZ simply by downloading a newer version from
  3115.      TeleGodzilla, BIX, GEnie (IBM Roundtable), CompuServe, and trusted
  3116.      bulletin boards.
  3117.  
  3118.  
  3119.  
  3120.  
  3121.  
  3122.  
  3123.  
  3124.  
  3125.  
  3126.  
  3127.  
  3128.      Chapter 18 Pg 51      DSZ Reference Rev Dec-14-91       Typeset 12-14-91
  3129.  
  3130.  
  3131.      18.1  Sharing DSZ Files
  3132.  
  3133.      You are welcome to share unmodified copies of DSZ.ZIP or DSZ.ZOO with
  3134.      your friends and associates for their evaluation.  This documentation
  3135.      file and the MAILER file must be provided with all copies of DSZ except
  3136.      by prior written permission from Omen Technology Inc.  Because of piracy
  3137.      problems, Omen Technology must INSIST that DSZ be distributed only as
  3138.      part of the DSZ.ZIP file EXACTLY as provided by Omen Technology Inc, or
  3139.      in an archive which displays a CRC value for DSZ.COM equal to that shown
  3140.      in the Changes chapter.  If DSZ.ZIP is repacked, no files may be added
  3141.      to or removed from the archive.
  3142.  
  3143.      If you see an improperly packed or otherwise modified DSZ archive or
  3144.      parts thereof in a bulletin board, please ask the board's operator to
  3145.      replace such files with DSZ.ZIP exactly as provided by Omen Technology
  3146.      Inc.  Flame them until they behave ethically.
  3147.  
  3148.      Unmodified copies of Omen Technology shareware and demo files including
  3149.      GSZ.ZIP, DSZ.ZIP and DSZBG.ZIP may be distributed by "shareware
  3150.      distributors" provided 1) the files are clearly identified as
  3151.      unregistered shareware, 2) the cost of the distribution is nominal.
  3152.      Otherise, no version of DSZ may be sold without the prior written
  3153.      permission of Omen Technology Inc.
  3154.  
  3155.      DSZ is not and never has been Copy Protected.  "DSZ unprotect" files
  3156.      have no function whatsoever except to aid and encourage the theft of
  3157.      Omen Technology's Intellectual Property.
  3158.  
  3159.      Distribution or use of programs or procedures that modify, patch,
  3160.      disassemble, decompile, or otherwise reverse engineer DSZ without the
  3161.      prior written permission by Omen Technology Inc is a bloody theft of
  3162.      intellectual property and services and is a violation of Federal
  3163.      Copyright Law.  The same applies to debug scripts and documentation
  3164.      written for the same purposes.  These perform the same function as
  3165.      pirate satellite and/or cable descramblers, to obtain benefit from
  3166.      encrypted communications without proper payment.  Piracy has been
  3167.      investigated by the FBI and prosecuted under federal statutes.
  3168.      Applicable law provides for damages and recovery of attorney's fees.
  3169.      Omen Technology has received reports of serious problems caused by
  3170.      unauthorized patches to DSZ, and cannot assume liability for the
  3171.      performance of the resultant code.  So far, none of the slime producing
  3172.      such bilge have seen fit to sign their real name and address to their
  3173.      cretinous attempts at ego gratification.
  3174.  
  3175.      Distribution of DSZ in any medium without this documentation file is an
  3176.      unauthorized modification to DSZ that deprives the rightful author of
  3177.      registration revenues.  That is a theft of intellectual property.  Such
  3178.      distribution damages the author by forcing the user and author to waste
  3179.      time and phone bills scrounging for the documentation, and answering
  3180.      questions that are fully covered in the documentation.
  3181.  
  3182.  
  3183.  
  3184.  
  3185.  
  3186.  
  3187.      Chapter 18 Pg 52      DSZ Reference Rev Dec-14-91       Typeset 12-14-91
  3188.  
  3189.  
  3190.      If any version of DSZ is distributed with any other product, software or
  3191.      hardware, the product documentation must clearly and prominently state
  3192.      that the customer's continued use of DSZ requires registration directly
  3193.      with Omen Technology or its duly authorized agent(s).  When unregistered
  3194.      copies of DSZ are distributed on disk, a contemporary copy of
  3195.      ZCOMMDOC.ZIP should be included on the same disk.
  3196.  
  3197.      Thank you for your support.
  3198.  
  3199.      18.2  REGISTRATION
  3200.  
  3201.      After a short evaluation period, ethical users must register their copy
  3202.      of DSZ with a check for $20.00 in U.S. funds sent to:
  3203.  
  3204.             Omen Technology Inc.
  3205.             P.O. Box 4681
  3206.             Portland, OR 97208
  3207.  
  3208.      The address on your check is sufficient, no need to fill out forms.
  3209.  
  3210.             For VISA/MC Registrations, you can also:
  3211.             Call VOICE: 503-621-3406
  3212.  
  3213.             Or register online: 503-621-3746  300-1200-2400 bps
  3214.             Or FAX the INSTANT MAILER to: 503-621-3735
  3215.  
  3216.      Don't bother scrounging for an envelope, just print the INSTANT MAILER
  3217.      included in this archive!
  3218.  
  3219.      Overseas registrations are sent out International Air Mail.  Users,
  3220.      especially those overseas, may choose to register their copy of DSZ for
  3221.      $25.00 U.S.  by providing their VISA or Mastercard card number with
  3222.      expiration date and their name as it appears on their credit card.
  3223.  
  3224.      Purchase orders for less than $150 must be prepaid.  Omen Technology Inc
  3225.      Federal TAX ID #: 930858776 Oregon TAX ID #: 536565
  3226.       .ne 12
  3227.  
  3228.      "Das Recht zur Benutzung von DSZ in Deutschland, Oesterreich und der
  3229.      Schweiz erwerben Sie durch Bezahlung der Lizenzgebuehr von DM 57,00
  3230.      (incl. Mwst) an RzK
  3231.  
  3232.      Doris Koepke
  3233.      Bitzenstr. 11
  3234.      D-5464 Asbach
  3235.  
  3236.      Tel. 02683-4547, FAX 49 2683 4537, Telex 86 3705 rzk d, CIS
  3237.      [70126,1660]. Sie erhalten dann von dort sowohl die neueste Version, als
  3238.      auch Ihren individuellen Software-Key, mit dem Sie auch kuenftige
  3239.      Shareware-Versionen "aufschliessen", also die in der Shareware Version
  3240.      nicht zugnglichen Programmfunktionen nutzbar machen koennen, per Post.
  3241.  
  3242.  
  3243.  
  3244.  
  3245.  
  3246.      Chapter 18 Pg 53      DSZ Reference Rev Dec-14-91       Typeset 12-14-91
  3247.  
  3248.  
  3249.      Die Benutzung nicht registrierter Versionen stellt einen Verstoss
  3250.      geltenden Rechts dar und wird strafrechtlich verfolgt."
  3251.  
  3252.  
  3253.      *************************************************************************
  3254.      The user registration package includes a printed serial number password
  3255.      (SNP) card.  The registration "care package" diskette contains the
  3256.      latest versions of the DSZ programs, additional user documentation, and
  3257.      the installation program which uses your personal SNP to enable advanced
  3258.      features and bypass the opening advertisement.
  3259.  
  3260.      The registration package unlocks the extra value in all past and future
  3261.      versions of DSZ.COM and DSZ.EXE.
  3262.      *************************************************************************
  3263.  
  3264.      The unique serial number on the registration card is registered to the
  3265.      user, and is acceptable proof of registration to corporate auditors.
  3266.  
  3267.      The putsnp program inserts your unique DSZ Serial Number Password (SNP)
  3268.      into you copy of DSZ with the following command:
  3269.             putsnp dsz.com
  3270.      Putsnp prompts for your SNP and asks appropriate questions before
  3271.      inserting the SNP to enable the extra value in DSZ.
  3272.  
  3273.      GSZ is serialized with the GCOLORS program described above.
  3274.  
  3275.      Some TSR programs and device deivers interfere with putsnp.  If you have
  3276.      a lockup running putsnp, run it without any device drivers or TSR
  3277.      programs (boot a plain DOS from floppy disk).
  3278.  
  3279.      Your disk directory entry for DSZ will show the date and time you
  3280.      serialized your copy of DSZ.  This does not affect the revision date DSZ
  3281.      announces when DSZ is run.
  3282.  
  3283.  
  3284.      The only legitimate way to disable the opening advertisement in DSZ is
  3285.      to insert an authorized SNP obtained from Omen Technology into DSZ with
  3286.      the putsnp program.  Any other suppression or modification of the
  3287.      opening screen is an illegal, unethical theft of services.  Omen
  3288.      Technology has received reports of serious problems caused by
  3289.      unauthorized patches to DSZ, and cannot assume liability for the
  3290.      performance of the resultant code.
  3291.  
  3292.      Piracy is stealing.
  3293.  
  3294.  
  3295.  
  3296.  
  3297.  
  3298.  
  3299.  
  3300.  
  3301.  
  3302.  
  3303.  
  3304.  
  3305.      Chapter 18 Pg 54      DSZ Reference Rev Dec-14-91       Typeset 12-14-91
  3306.  
  3307.  
  3308.      18.3  Files on Registration Disk
  3309.  
  3310.      The following files are currently included on the Registration Disk sent
  3311.      to paid registrants.
  3312.  
  3313.      BOOZ.EXE       Program to unpack .ZOO archives.  BOOZ.DOC describes
  3314.                     BOOZ.EXE.
  3315.  
  3316.  
  3317.      DSZEXE.ZOO     Contains DSZ.EXE.
  3318.  
  3319.                     To dearchive with booz: booz x dszexe
  3320.  
  3321.                     Type "booz" without arguments to see the help message.
  3322.  
  3323.  
  3324.  
  3325.      DSZ.ZOO        Contains DSZ.COM, DSZ.DOC, DESQview description files.
  3326.  
  3327.                     To dearchive with booz: booz x dsz
  3328.  
  3329.  
  3330.      DGSZ.ZOO       Contains GSZ, DSZ, GSZ.DOC, and DESQview description
  3331.                     files.
  3332.  
  3333.                     To dearchive with booz: booz x dsz
  3334.  
  3335.                     RZSZ.ZOO contains ZMODEM "C" source code for COMPLETE VAX
  3336.                     VMS and Unix/Xenix programs licensed for use transferring
  3337.                     files to/from licensed Omen Technology products.[1]
  3338.  
  3339.                     To dearchive RZSZ with booz: booz x rzsz
  3340.  
  3341.  
  3342.      PUTSNP.EXE     Installs your unique registered serial number to enable
  3343.                     the extra value in DSZ.  (GCOLORS is used for GSZ.)
  3344.  
  3345.  
  3346.      DSZBG.DOC      (in DSZBG.ZOO) Background information for GSZ and DSZ,
  3347.                     consisting of relevant parts of the ZCOMM User's Manual.
  3348.  
  3349.                     To dearchive with booz: booz x dszbg
  3350.  
  3351.  
  3352.  
  3353.  
  3354.  
  3355.      __________
  3356.  
  3357.       1. Technical support for rzsz is available on a paid consulting basis.
  3358.  
  3359.  
  3360.  
  3361.  
  3362.  
  3363.  
  3364.      Chapter 18 Pg 55      DSZ Reference Rev Dec-14-91       Typeset 12-14-91
  3365.  
  3366.  
  3367.      18.4  Bulletin Board Registration
  3368.  
  3369.      Note to the wise BBS operator: be sure you understand the DSZ restrict
  3370.      command and how to use it.
  3371.  
  3372.      Use and/or copying of DSZ by bulletin board sysops and/or systems is
  3373.      allowed according to the following conditions:
  3374.  
  3375.      I agree to feature the ZCOMM files (ZCOMMEXE.ZIP, ZCOMMDOC.ZIP,
  3376.      ZCOMMHLP.ZIP) for downloading, and to announce the availability and
  3377.      features of ZCOMM in any bulletins, help displays, or other displays
  3378.      that mention communications programs.  It is my responsibility to
  3379.      maintain reasonably current versions of the ZCOMM files on the BBS shown
  3380.      above.
  3381.  
  3382.      I understand that I am welcome to use DSZ on my bulletin board(s) from
  3383.      the time I sign and mail this document as long as I abide by the
  3384.      conditions above, including featuring the above mentioned ZCOMM files.
  3385.  
  3386.      I shall distribute DSZ.COM only as part of the DSZ.ZIP EXACTLY as
  3387.      provided by Omen Technology Inc, or "zipped" without any file additions,
  3388.      deletions, or modifications.  If I distribute DSZEXE.ZOO, I shall also
  3389.      maintain DSZ.ZIP in the same directory since DSZEXE.ZOO references files
  3390.      in DSZ.ZIP.
  3391.  
  3392.      If I see a modified DSZ archive or parts thereof in a file or collection
  3393.      of files (e.g., archive) on a bulletin board, I shall replace such files
  3394.      or archive members with the contents of DSZ.ZIP exactly as provided by
  3395.      Omen Technology Inc.  I shall report instances of noncompliance to Omen
  3396.      Technology.
  3397.  
  3398.      I shall not allow any version of dsz to be sold, modified, patched,
  3399.      hacked, disassembled, decompiled, or otherwise reverse engineered
  3400.      without the prior written permission of Omen Technology Inc.
  3401.  
  3402.      I understand that DSZ is not and never has been Copy Protected.  I fully
  3403.      understand that "DSZ unprotect" files have no function whatsoever except
  3404.      to aid and encourage the theft of Omen Technology's Intellectual
  3405.      Property.
  3406.  
  3407.      (For this BBS registration, a multi node bulletin board operating from a
  3408.      single, common file system counts as one machine.)
  3409.  
  3410.      The purpose of bulletin board registrations is to support and promote
  3411.      ZCOMM and Professional-YAM by popularizing the ZMODEM protocol and
  3412.      featuring the ZCOMM shareware files available for downloading.
  3413.  
  3414.      BBS registrations must be submitted on the bbs_reg form with signature
  3415.      and date, and must accompany a new paid DSZ or ZCOMM registration.  The
  3416.      paid registration that must accompany your BBS registration can be one
  3417.      submitted by one of your board's users.  Most boards have many
  3418.  
  3419.  
  3420.  
  3421.  
  3422.  
  3423.      Chapter 18 Pg 56      DSZ Reference Rev Dec-14-91       Typeset 12-14-91
  3424.  
  3425.  
  3426.      unregistered DSZ users, so getting one of them to register their DSZ
  3427.      should pose no difficulty.  Since the paid registration may be from one
  3428.      of your board's users, you can get your BBS registered for free by
  3429.      getting one of your users to register his/her DSZ at the same time.
  3430.  
  3431.  
  3432.  
  3433.  
  3434.  
  3435.  
  3436.  
  3437.  
  3438.  
  3439.  
  3440.  
  3441.  
  3442.  
  3443.  
  3444.  
  3445.  
  3446.  
  3447.  
  3448.  
  3449.  
  3450.  
  3451.  
  3452.  
  3453.  
  3454.  
  3455.  
  3456.  
  3457.  
  3458.  
  3459.  
  3460.  
  3461.  
  3462.  
  3463.  
  3464.  
  3465.  
  3466.  
  3467.  
  3468.  
  3469.  
  3470.  
  3471.  
  3472.  
  3473.  
  3474.  
  3475.  
  3476.  
  3477.  
  3478.  
  3479.  
  3480.  
  3481.  
  3482.      Chapter 18 Pg 57      DSZ Reference Rev Dec-14-91       Typeset 12-14-91
  3483.  
  3484.  
  3485.      19.  CHANGES
  3486.  
  3487.      Be sure to save your serial number/password (SNP) card and the putsnp
  3488.      program you received from Omen Technology to use with future versions of
  3489.      DSZ you may download!  (Use GCOLORS to serialize GSZ.)
  3490.  
  3491.      Current GSZ and DSZ versions are maintained on EXEC-PC BBS, BIX, GEnie
  3492.      (IBM Roundtable), CompuServe (IBMCOM and CONSULT SIGs) as well as
  3493.      TeleGodzilla.
  3494.  
  3495.      DSZ is a popular program which has been the object of virus attacks.
  3496.      Pirated/hacked versions of DSZ have cost users and DSZ's developer
  3497.      thousands of dollars in lost time and other expenses, in addition to
  3498.      injuring of Omen Technology's reputation.
  3499.  
  3500.      Virus and Trojan code hidden in hacked/pirated copies of DSZ and
  3501.      programs claiming to "register DSZ" have caused loss of data.
  3502.  
  3503.      Name             Length                           Date        Time   CRC
  3504.  
  3505.  
  3506.      -rw-r--r--   1 caf      omen       52626 Dec 14 12:02 dsz.com
  3507.      -rwxr-xr-x   1 caf      omen       62515 Dec 14 11:59 dsz.exe
  3508.      PKZIP -vt 32 bit CRC: A23D24DD   52626  dsz.com
  3509.      PKZIP -vt 32 bit CRC: FE13CE17   62515  dsz.exe
  3510.  
  3511.  
  3512.  
  3513.      Your copy of DSZ should show the same CRC values.  ZIP uses a 32 bit CRC
  3514.      compatible with the Professional-YAM and ZCOMM "crc" command.
  3515.            pkzip -vt dsz
  3516.      The following Pro-YAM/ZCOMM command gives the 32 bit CRC for DSZ.COM:
  3517.  
  3518.      EXAMPLE: >>>c: crc dsz.com
  3519.  
  3520.  
  3521.      If your copy shows a different CRC or file length, insist on a
  3522.      legitimate copy and report the source of the bogus/pirated copy to Omen
  3523.      Technology Inc.  Omen Technology has received reports of serious
  3524.      problems caused by unauthorized patches to DSZ, and cannot assume
  3525.      liability for the performance of the resultant code.
  3526.  
  3527.  
  3528.      COM7 and COM8 are changed; see the "port" command above.
  3529.  
  3530.      A problem in the 1/17/89 and 2/2/89 DSZ versions corrupts files under
  3531.      unusual circumstances.  Please delete all instances of the 1/17/89 and
  3532.      2-02-89 version.
  3533.  
  3534.      There never was a "zmodem d" parameter in DSZ.  Older versions of DSZ
  3535.      ignored attempts to set this nonexistient parameter with a message that
  3536.  
  3537.  
  3538.  
  3539.  
  3540.  
  3541.      Chapter 19 Pg 58      DSZ Reference Rev Dec-14-91       Typeset 12-14-91
  3542.  
  3543.  
  3544.      humans ignored.  DSZ now aborts when asked to set a nonexistient
  3545.      parameter.  There is a "d" parameter that controls time/date stamping of
  3546.      files; Bulletin boards that need to disable time/date stamping of
  3547.      received files should simply use "pd0" not preceded by a "z".
  3548.  
  3549.      Good news for tired frog stompers!  The ZMODEM rz/sz programs are
  3550.      available in native VMS flavors with wild cards, record format support,
  3551.      etc..  Pre compiled VAX/VMS files are contained in the RZSZ.TLB
  3552.      compressed text library.
  3553.  
  3554.      The DSZ and GSZ "t" command uses the DOS console driver for terminal
  3555.      emulation.  Standard ANSI.SYS is limited to a small subset of ANSI
  3556.      escape sequences; NANSI.SYS, FANSI-Console and other replacement console
  3557.      drivers provide faster screen updates and better ANSI terminal
  3558.      emulation.
  3559.  
  3560.      Dec 13 1991: DSZ and GSZ automatically support Doorway 2.2 without extra
  3561.      commands.
  3562.  
  3563.      The RZ.BAT and SZ.BAT files are supplied for convenience.  RZ.BAT allows
  3564.      calling programs that emit an "rz" command to automatically start DSZ
  3565.      from the DOS command prompt.  SZ.BAT is a convenient command interface
  3566.      that complements RZ.BAT.  You may modify SZ.BAT and RZ.BAT with your
  3567.      favorite options.
  3568.  
  3569.      The GSZ file transfer display now shows a distinct color at the
  3570.      locations where error retries occurred.  This gives a visual impression
  3571.      of the distribution of error retries.
  3572.  
  3573.      Oct 15 1991:  To accomodate other vendors' programs which do not provide
  3574.      a convenient way to control crash recovery, the "restrict" command
  3575.      security check is not performed if the destination file exists.
  3576.  
  3577.      Oct 8 1991: Some versions of putsnp were confused by a data pattern in
  3578.      the Oct 7 dsz.com, misplacing the installed serial number.  Oct 7 1991:
  3579.      The "t" (talk) command now accepts -h and -H to enable local echo.  Oct
  3580.      1 1991: Fixed an interaction between FIFO uarts and YMODEM-g termination
  3581.      after all files have been sent.  Fixed problem of some options being
  3582.      ignored on XMODEM and YMODEM downloads.  Fixed graphics display problem
  3583.      involving more than 40 MB of files.  Sep 4 1991: GCOLORS now saves the
  3584.      color scheme in a separate file GCOLORS.T.  Many small improvements in
  3585.      the GSZ file xfer display.  GCOLORS adds a "m" menu choice to remove
  3586.      color from the color scheme.
  3587.  
  3588.      A conflict between crash recovery and user specified short packets has
  3589.      been corrected.
  3590.  
  3591.      DSZ.EXE and GSZ now accept the "c" option to force incoming files to use
  3592.      a changed file name when a file with the same name exists.  The
  3593.      receiving program must support this new ZMODEM option or file
  3594.      disposition will be undefined.
  3595.  
  3596.  
  3597.  
  3598.  
  3599.  
  3600.      Chapter 19 Pg 59      DSZ Reference Rev Dec-14-91       Typeset 12-14-91
  3601.  
  3602.  
  3603.      Aug 7 1991: Serial I/O modifications have solved a Wedge-O-Matic(R)
  3604.      problem with one hardware configuration (antique 2400 bps internal
  3605.      modem).  Hopefully this will solve similar non-replicatable problems for
  3606.      other users.
  3607.  
  3608.      A number of display fixes/enhancements to GSZ, including the addition of
  3609.      the GSZWINDOW environment variable enabling BBS sysops to protect BBS
  3610.      status lines at the bottom of the screen.
  3611.  
  3612.  
  3613.      July 29 1991: Corrections to gcolors registration function.
  3614.  
  3615.      July 28 1991: Some changes to GSZ and CGOLORS to improve human factors.
  3616.  
  3617.      "GCOLORS -q" disables the flashing reminder of which field is being
  3618.      modified.  This was added to help users with certain visual impairments.
  3619.  
  3620.      A few users have reported hung transfers wither certain hardware and/or
  3621.      software configurations.  We have not been able to replicate the
  3622.      problem, but have added code that recovers from lost interrupts.
  3623.  
  3624.      July 21 1991: Preview release of GSZ!!
  3625.  
  3626.  
  3627.      July 3 1991: Spurious "Invalid Download Directory" message has been
  3628.      removed.  More hacks to accomodate AT&T's mutant "ymodemb" protocol.
  3629.      AT&T may be the right choice, but their "ymodemb" is not the right
  3630.      protocol.
  3631.  
  3632.      June 13 1991: DSZLOG entries made by the 6/10 DSZ had no carriage
  3633.      returns.  Please check the "pxN" and "z pxN" command descriptions for
  3634.      important clarifications.
  3635.  
  3636.      June 10 1991: A problem with sending with flow control has been fixed.
  3637.      Intelligent Crash Recovery(TM) has been enhanced to prevent timeouts
  3638.      when computers with different CPU speeds are used.
  3639.  
  3640.      May 31 1991:  The "sb" command has been hacked to accomodate an AT&T
  3641.      nonstandard "ymodemb" protocol.
  3642.  
  3643.      The handling of hardware flow control has been hacked to prevent flow
  3644.      control timeouts caused by TSR programs that poll the UART status
  3645.      registers.
  3646.  
  3647.      The size of the input buffer has been increased.
  3648.  
  3649.      The "V" numeric parameter has been added to DSZ.COM to allow direct
  3650.      video output in some instances.
  3651.  
  3652.      April 29 1991: The "t" command no longer ignores options set with DSZOPT
  3653.      and/or as flags to the "t" command.
  3654.  
  3655.  
  3656.  
  3657.  
  3658.  
  3659.      Chapter 19 Pg 60      DSZ Reference Rev Dec-14-91       Typeset 12-14-91
  3660.  
  3661.  
  3662.      April 16 1991: Operation of "handshake slow" has been enhanced when
  3663.      receiving with ZMODEM CRC-32 and MobyTurbo(TM).  Users who had
  3664.      previously found "handshake slow" unable to control disk related "Line
  3665.      Status Register 02" overrun errors should find the new "handshake slow"
  3666.      more effective on ZMODEM CRC-32 and MobyTurbo downloads.
  3667.  
  3668.      DSZ.COM and DSZ.EXE now announce themselves as DSZ.COM and DSZ.EXE.
  3669.      DSZ.DOC has more discussion of differences between .COM and .EXE flavor.
  3670.      See the FILES chapter for expanded discussion of DSZ.COM vs DSZ.EXE.
  3671.  
  3672.      April 4 1991:  DSZ now supports 115200 bps on suitable hardware.
  3673.      DSZ.EXE throughputs of 113000 bps have been achieved with modest
  3674.      trickery.  "Your mileage may vary."
  3675.  
  3676.      The -I option has been added to the sz command.  The -I option causes
  3677.      new versions (Mar 29 1991 or later) of VMS rz to store files with the
  3678.      VMS Variable length (mrs=510) binary format.  Adding this record format
  3679.      should prevent VMS Kermit servers from corrupting file contents.
  3680.  
  3681.      pcAnywhere users: please read the "A" command description carefully!
  3682.  
  3683.      Feb 28 1991:  The instructions for adding DSZ to ProComm Plus have been
  3684.      updated to include PCP version 2.  Datastorm has not licensed ZMODEM-
  3685.      90(TM) despite allegations that DSZ is now "built in" to ProComm Plus
  3686.      version 2.
  3687.  
  3688.      The F command was added to leave the 16550A FIFO enabled on exit.  The
  3689.      speed command now updates the effective baudrate used for time
  3690.      estimates.
  3691.  
  3692.  
  3693.      sz -e is more network friendly.  (If you don't know what sz -e does, you
  3694.      don't want to know - trust me.)
  3695.  
  3696.      Dec 16 1990:  Code changes to improve operation with the Intel
  3697.      SatisFAXtion modem/fax board.
  3698.  
  3699.      Nov 19 1990:  A number of small enhancements.
  3700.  
  3701.      The sz -i and -u options were added.  The -i option is useful sending
  3702.      files to VMS rz version 4.x, forcing VMS Stream_LF record format.  The
  3703.      -u option unlinks (deletes) a file after it is successfully sent with
  3704.      ZMODEM.
  3705.  
  3706.      SlugBait has been fixed.
  3707.  
  3708.      The Y numeric parameter (described above) has been added to allow FIFO
  3709.      hackers to do their thing.
  3710.  
  3711.      June 25 1990: When a ZMODEM block length is forced, the receiving DSZ
  3712.      writes the data to disk before acknowledging the block.  With DSZ.EXE
  3713.  
  3714.  
  3715.  
  3716.  
  3717.  
  3718.      Chapter 19 Pg 61      DSZ Reference Rev Dec-14-91       Typeset 12-14-91
  3719.  
  3720.  
  3721.      and its maximum 16384 buffer size, you may be able to avoid overrun
  3722.      (Line Status Register 02) problems receiving to slow disk drives by
  3723.      using:
  3724.      DSZ pB16384 z pl16384 rz
  3725.  
  3726.      ZMODEM-90(TM) speeds up GEnie ZMODEM downloads; see DSZOPT.
  3727.  
  3728.      The "sz" command had an undocumented fallback to YMODEM, this has been
  3729.      removed for reliability reasons.
  3730.  
  3731.      The SlugBait (-s) option now causes DSZ to return success (0 exit code)
  3732.      if at least one file is transferred.
  3733.  
  3734.      April 11 1990: Enhancements for more efficient multitasking under
  3735.      DESQview and DESQview 386.  Code which prevented IRQ conflicts between
  3736.      COM1/COM3 and COM2/COM4 has been removed to allow use of COM7 and COM8
  3737.      without interference from DSZ running on COM1 or COM2..
  3738.  
  3739.      ZIP replaces ARC as the standard download distribution format on new
  3740.      files.
  3741.  
  3742.      March 21 1990: DSZ now sends the CANCEL sequence if it runs out of disk
  3743.      space while receiving a file with ZMODEM.
  3744.  
  3745.      DSZ now defaults to "handshake both" if the clear to send signal is high
  3746.      when DSZ selects the comm port regardless of the initial "baud rate".
  3747.  
  3748.      The P parameter can be set to -1 to disable the FIFO on the Western
  3749.      Digital WD16550 chip.  The WD16550 FIFO has been observed to lose
  3750.      characters when transmitting at slow baud rates.  A more elegant
  3751.      software solution to this hardware problem may be discovered in the
  3752.      future.
  3753.  
  3754.      Feb 25 1990: Doco change only. The "R" numeric parameter or the
  3755.      "restrict" command may be used to force partially received files to be
  3756.      deleted.  These features have been in DSZ for a long time, but never got
  3757.      into DSZ.DOC.
  3758.  
  3759.      Feb 18 1990: DSZPORT now accepts "portx" style arguments in addition to
  3760.      the traditional decimal number.  The -Wn option has been improved.
  3761.  
  3762.      Jan-28-1990: Doco improvements, especially to the "In Case of
  3763.      Difficulty" chapter.  BBS registration clarified for those that bother
  3764.      to read it.  Qmodem batch files fixed.  No change to the DSZ software.
  3765.  
  3766.      Jan-22-1990: ZMODEM-90(TM) extensions:
  3767.  
  3768.      Receiver specified window size: The -Wn option operates similarly to the
  3769.      -wn option.  The -Wn option is specified to the receiver, which sends
  3770.      this information to the sender.  Pro-YAM, ZCOMM and DSZ versions
  3771.      beginning with Jan 22 1990 support this.
  3772.  
  3773.  
  3774.  
  3775.  
  3776.  
  3777.      Chapter 19 Pg 62      DSZ Reference Rev Dec-14-91       Typeset 12-14-91
  3778.  
  3779.  
  3780.      Specified extra escaped characters: The "zmtxesc" and "zmrxesc" allow
  3781.      extra characters to be escaped when sending (zmtxesc) or receiving
  3782.      (zmrxesc).  Zmtxesc is effective sending to any ZMODEM program.  The sz
  3783.      commands in Omen products after Jan 22 1990 except for DSZ.COM recognize
  3784.      incoming "zmrxesc" requests.  The zmrxesc and zmtxesc string parameters
  3785.      consist of one or more printing characters corresponding to the control
  3786.      characters to be escaped.  To escape NULL:  set zmrxesc "@"
  3787.  
  3788.      Since DSZ does not support string parameters, a -Q<string> option unique
  3789.      to DSZ performs the same function as zmrxesc and zmtxesc.  If the
  3790.      Q<string> option is used in DSZOPT, it must be last.  To escape NULL:
  3791.      DSZ sz -Q@ file.ext
  3792.  
  3793.      MobyTurbo(TM):
  3794.  
  3795.      MobyTurbo optimizes throughput on GIF, ZIP, ARC, and similar files
  3796.      without sacrificing ZMODEM's famous reliability on noisy lines.
  3797.      MobyTurbo works with standard modems, error correcting modems with
  3798.      hardware flow control, and over paths that support ZMODEM and do not
  3799.      "eat" or otherwise respond to control characters.  This includes all
  3800.      paths that support YMODEM-g (or would except for line noise).
  3801.  
  3802.      MobyTurbo can be used for downloads over PC Pursuit if software flow
  3803.      control is not turned on.
  3804.  
  3805.      Activate MobyTurbo with the -m option to one or more of: sz command, rz
  3806.      command, or DSZOPT environment variable.
  3807.  
  3808.      ZMODEM over 7 bit paths:  (Not supported in DSZ.COM)
  3809.  
  3810.      A pair of ZMODEM-90 programs with 7-bit support operating over a 7 bit
  3811.      path should detect that fact and switch to one of two 7-bit path
  3812.      compatible encodings.  For testing, this can be forced with a "-E"
  3813.      option.
  3814.  
  3815.      Default 7-bit mode is RLE compression and 8th bit quoting similar to
  3816.      Kermit but more efficient because not so many control characters are
  3817.      quoted.  Use this default for text files.  Rubout and all control
  3818.      characters can be escaped with the -e option.  Individual control
  3819.      characters can be escaped with "zmtxesc" and "zmrxesc".
  3820.  
  3821.      Pack-7 instead of quoting is activated with the -P option.  (-P has no
  3822.      effect on 8 bit paths.) Pack-7 packs 4 bytes into 5 printing characters.
  3823.      This is more efficient than quoting for files where 25% more 8th bits
  3824.      appear than the number of characters saved by RLE compression.  (This
  3825.      statement applies to GIF, ARC, ZOO, and ZIP files.  It may or may not
  3826.      apply to other binary file formats, depending on the data.) Pack-7 will
  3827.      match or beat standard Kermit on ZIP files, even when Kermit has use of
  3828.      all 8 bits.
  3829.  
  3830.      SUPK412.ZIP 75136 bytes sent at 2400 bps direct connect from an
  3831.  
  3832.  
  3833.  
  3834.  
  3835.  
  3836.      Chapter 19 Pg 63      DSZ Reference Rev Dec-14-91       Typeset 12-14-91
  3837.  
  3838.  
  3839.      Everec 1800 AT clone 8mHz/0ws to an 18 mHz Intel 386 motherboard.
  3840.  
  3841.      8-Bit line
  3842.      cps     Protocol/command
  3843.      156     MS Kermit 3.00 to MS Kermit 3.00  (defaults)
  3844.      182     MS Kermit 3.00 to MS Kermit 3.00  (windows=2 length=2000)
  3845.      184     MS Kermit 3.00 to Pro-YAM 17.51 (windows=2 length=2000)
  3846.      231     Pro-YAM 17.51 ZMODEM (defaults)
  3847.      237     Pro-YAM 17.51 ZMODEM-90(TM) MobyTurbo(TM) (sz -m)
  3848.  
  3849.      7-Bit line
  3850.      cps     Protocol/command
  3851.      156     MS Kermit 3.00 to MS Kermit 3.00  (windows=4 length=2000)
  3852.      190     Pro-YAM 17.51 ZMODEM-90 PACK-7 (sz -EP)
  3853.  
  3854.      Kermit transfers used 8 bit CRC, ZMODEM used 32 bit CRC.
  3855.  
  3856.  
  3857.      ************************************************************************
  3858.      ************************************************************************
  3859.  
  3860.      WHAT TO LOOK FOR:
  3861.  
  3862.      Performance     difference     with     MobyTurbo,     possible     side
  3863.      effects/incompatibilities.   MobyTurbo  logic  tests  for  software flow
  3864.      control incompatibilities: when does this test fail?
  3865.  
  3866.      Automatic detection of 7-bit paths.  Spurious detection of  7-bit  paths
  3867.      and failure to detect 7-bit paths.  (DSZ.EXE only)
  3868.  
  3869.  
  3870.      12-13-89  The Virus check was removed because of user confusion and slow
  3871.      startup under certain conditions.  Code has been added to prevent and/or
  3872.      recover from "line status register 18" errors.
  3873.  
  3874.      10-28-89 A T may be appended to DSZOPT or "DSZ t  -T"  may  be  used  to
  3875.      force  DSZ  to  exit  after  it has recognized a ZMODEM AutoDownload(TM)
  3876.      request.
  3877.  
  3878.      10-24-89  BBS registered copies (serial  numbers  8000-8999  and  20000-
  3879.      23999) are now fully featured.
  3880.  
  3881.      The BBS registration form has been  modified.   Please  read  this  form
  3882.      carefully  before  applying  a  BBS  serial  number.   Use of BBS serial
  3883.      numbers (4000, 20000 series) acknowledges acceptance of this contract.
  3884.  
  3885.      The IMP/KMD compatibility file length information in the  YMODEM  header
  3886.      generated by the sb command now uses the correct byte ordering.  Changes
  3887.      to the XMODEM/YMODEM sz/sb commands were made  to  accommodate  programs
  3888.      that ise CK or CKL.  (As predicted in 1985, networks sometimes interfere
  3889.      with these sequences.)
  3890.  
  3891.  
  3892.  
  3893.  
  3894.  
  3895.      Chapter 19 Pg 64      DSZ Reference Rev Dec-14-91       Typeset 12-14-91
  3896.  
  3897.  
  3898.      Files passed over because of creation errors at the  receiving  end  are
  3899.      now  counted  by the "sz" command as errors.  The receiving program must
  3900.      be a 9/89 or later version for this to be effective.
  3901.  
  3902.      The specified directory form of the rz and rb commands has been  enanced
  3903.      to accommodate certain forms of erroneous syntax.
  3904.  
  3905.      6-19-89 A documentation error (concerning DSZPORT) was corrected in  the
  3906.      DOC file.
  3907.  
  3908.      5-25-89  Corrects a protocol negotiation problem encountered when the rz
  3909.      or sz -e option is used.
  3910.  
  3911.      Host programs can now specify an alternate CANCEL sequence (not used for
  3912.      DOS and Unix).
  3913.  
  3914.      The ZMODEM "Slow Send" mode inserts a brief pause after  each  subpacket
  3915.      when  invoked with the -F option, or automatically when the "sz" command
  3916.      detects failing flow control.  The zmodem F numeric  parameter  (default
  3917.      1) sets the pause in tenths of seconds.
  3918.  
  3919.      4-24-89 The -rr option has been improved.  Long file compares  are  done
  3920.      in  two  stages  to  save  time  when  the  first portions do not match.
  3921.      Diagnostic code and undocumented commands have been removed to  decrease
  3922.      the program size.
  3923.  
  3924.      The 4-18 version introduces ZMODEM variable length headers of up  to  16
  3925.      bytes  information  field instead of the previous fixed 4.  Selection of
  3926.      variable length header capability is automatic and downward  compatible.
  3927.      Variable   length   headers   allow   future   extensions   to  ZMODEM's
  3928.      capabilities.
  3929.  
  3930.      ZMODEM Crash Recovery now understands the  -rr  option  to  compare  the
  3931.      CRC-32   of  the  assumed  common  file  segment  before  continuing  an
  3932.      incomplete file transfer.  The "zmodem R" numeric parameter may  be  set
  3933.      to limit the number of bytes in the files that are compared; the default
  3934.      R value of 0 allows all of the file to be compared, an  R  value  up  to
  3935.      32000  (up  to 2 billion on 32 bit flavors) limits the comparison to the
  3936.      first R bytes of the two files.  The ZMODEM -rr option is  supported  by
  3937.      Omen Tech versions April 18 1989 and later.
  3938.  
  3939.      When ZMODEM Crash Recovery detects incompatible source  and  destination
  3940.      file  contents,  the  destination  file  is now truncated to zero length
  3941.      before proceeding  with  the  transfer.   Crash  Recovery  requires  the
  3942.      destination file to be no longer than the source file.
  3943.  
  3944.      Error reporting on unregistered copies has been enhanced  to  point  the
  3945.      user to solutions described in the relevant chapters in DSZ.DOC.
  3946.  
  3947.      3-18-89 In order to work around a bug in the  new  TCOMM  bbs,  DSZ  now
  3948.      defaults  to  "handshake  on"  if the speed is greater than 2400 and the
  3949.  
  3950.  
  3951.  
  3952.  
  3953.  
  3954.      Chapter 19 Pg 65      DSZ Reference Rev Dec-14-91       Typeset 12-14-91
  3955.  
  3956.  
  3957.      clear to send signal is high when DSZ selects the comm port.
  3958.  
  3959.      The "o" command has been added to disconnect the modem after a  terminal
  3960.      session:  "DSZ  t  o" disconnects the modem when the terminal session is
  3961.      completed.
  3962.  
  3963.      The "P" (capital P) numeric parameter (q.v.) has been added  to  display
  3964.      and control the UART fifo on some clone chips.
  3965.  
  3966.      BBS registrations postmarked after Feb 28 1989 must be accompanied by  a
  3967.      paid  DSZ  registration.  The free program expired Feb 28 1989.  Outside
  3968.      help has been hired to process and verify  applications  received  under
  3969.      that program.
  3970.  
  3971.      2-23-89 The term function now sends BREAK in response to the ALT-B  key.
  3972.      Handling  of  the  Ctrl-Break  vector  has  been  changed so an untimely
  3973.      keyboarded Ctrl-C or Ctrl-Break will not hang DOS.
  3974.  
  3975.      2-15-89  DIRRX is enabled for BBS registrations (8xxx  numbers).   Logic
  3976.      has  been  added  to  simulate  transmit  interrupts  on chips that have
  3977.      problems in this area.  The "A" command does not  require  registration.
  3978.      An  interaction between ONAME= or PREFIX= and the file count display has
  3979.      been removed.  Time/date conversion routines have been enhanced to  deal
  3980.      with  files with missing dates.  The "v" command has been added to allow
  3981.      bbs programs to interrogate DSZ's serial number.
  3982.  
  3983.      2-06-89 A spurious error message at the completion of  YMODEM  downloads
  3984.      with  a  download  directory  specified  on  the  command  line has been
  3985.      eliminated.
  3986.  
  3987.      2-05-89 DSZ now returns a non 0 status unless at least one file has been
  3988.      transferred.    An   inappropriate   pathname/disk  specifier  check  on
  3989.      specified download directories has been removed.
  3990.  
  3991.      Previous versions:
  3992.  
  3993.      Added the "A" command to prevent pcAnywhere host mode  from  locking  up
  3994.      DSZ.   SlugBait  logic  has  been  simplified, reporting any failed file
  3995.      transfer where any of the last 1K of the file was sent with Q status.
  3996.  
  3997.      Introduced ZMODEM RLE compression with the -Z option.   (registered  DSZ
  3998.      copies  also  accept "Z" in the DSZOPT environment variable.) ZMODEM RLE
  3999.      compression packs runs of the same character in two or  three  character
  4000.      sequences.    Compression  is  useful  for  screen  dumps,  uncompressed
  4001.      workspaces, compiler listings, and other  files  rich  with  strings  of
  4002.      repeated  characters,  but  not  .GIF,  .ARC,  .ZOO and other compressed
  4003.      files.  Compression percentages range  from  -1  per  cent  for  already
  4004.      compressed  files  to  more  than  1000  per cent (10x speedup!) for the
  4005.      Personal Computing text file benchmark(!).   When  sending  to  programs
  4006.      that  do  not support ZMODEM compression, the -Z option is ignored.  The
  4007.      -Z option is effective when specified to the sending program only.
  4008.  
  4009.  
  4010.  
  4011.  
  4012.  
  4013.      Chapter 19 Pg 66      DSZ Reference Rev Dec-14-91       Typeset 12-14-91
  4014.  
  4015.  
  4016.      "Handshake slow" has been added to disable the RTS signal to  the  modem
  4017.      while writing to disk, even if the interrupt buffer is not chock full of
  4018.      bytes.  This should help systems with  excessive  interrupt  latency  on
  4019.      disk writes.
  4020.  
  4021.      Setting the v (verbose) parameter to  1  or  greater  causes  serialized
  4022.      copies to ring the bell when a transfer is done.
  4023.  
  4024.      DSZ.DOC has been extensively rewritten and  reorganized.   DSZ  supports
  4025.      the  advanced  buffering of the National NS16550AN, NS16550AFN and Intel
  4026.      82510 serial interface devices.   Please  refer  to  the  subchapter  on
  4027.      "Brain Damaged UARTs".
  4028.  
  4029.  
  4030.  
  4031.  
  4032.  
  4033.  
  4034.  
  4035.  
  4036.  
  4037.  
  4038.  
  4039.  
  4040.  
  4041.  
  4042.  
  4043.  
  4044.  
  4045.  
  4046.  
  4047.  
  4048.  
  4049.  
  4050.  
  4051.  
  4052.  
  4053.  
  4054.  
  4055.  
  4056.  
  4057.  
  4058.  
  4059.  
  4060.  
  4061.  
  4062.  
  4063.  
  4064.  
  4065.  
  4066.  
  4067.  
  4068.  
  4069.  
  4070.  
  4071.  
  4072.      Chapter 20 Pg 67      DSZ Reference Rev Dec-14-91       Typeset 12-14-91
  4073.  
  4074.  
  4075.      20.  ACKNOWLEDGEMENTS
  4076.  
  4077.      32 bit CRC code courtesy Gary S. Brown.
  4078.  
  4079.      ZMODEM-90(TM), MobyTurbo(TM), The High Reliability Software(TM), Demand
  4080.      Upgrade(TM), TurboLearn Script Writer(TM), Cybernetic Data Recovery(TM),
  4081.      ZMODEM AutoDownload(TM), Intelligent Crash Recovery(TM), Error
  4082.      Containment(TM), Full Time Capture(TM), True YMODEM(TM),
  4083.      OverThruster(TM), Password Guardian(TM), CryptoScript(TM), and
  4084.      TurboDial(TM) are Omen Technology trademarks.
  4085.  
  4086.      PowerCom was trademarked in 1985 by POLYTRON Corporation, Hillsboro
  4087.      Oregon.
  4088.  
  4089.      True YMODEM(TM) is an Omen Technology Trademark signifying YMODEM
  4090.      protocol support that meets the full YMODEM specification.
  4091.  
  4092.      DSZ and this documentation are Copyright 1991 by Omen Technology Inc,
  4093.      all rights reserved.  DSZ is not and never has been Public Domain.
  4094.      Every version of DSZ has included a Copyright Notice and a prohibition
  4095.      against sale or modification.  This prohibition applies to any theft of
  4096.      the intellectual property and trade secrets contained in DSZ by
  4097.      decompilation, disassembly, or any other form of reverse engineering
  4098.      including but not limited to profiling, tracing, data analysis, or
  4099.      monitoring the operation of DSZ.
  4100.  
  4101.      Omen Technology copyright applies to its expression of the encoding and
  4102.      compression ideas expressed as code and byte streams used in the
  4103.      ZMODEM-90 enhancements.
  4104.  
  4105.      DSZ is not and never has been Copy Protected.  "DSZ unprotect" files
  4106.      have no function whatsoever except to aid and encourage the theft of
  4107.      Omen Technology's Intellectual Property.
  4108.  
  4109.                            Omen Technology Incorporated
  4110.                           The High Reliability Software
  4111.  
  4112.                        17505-V Northwest Sauvie Island Road
  4113.                               Portland Oregon 97231
  4114.                      Modem: 503-621-3746 Speed 1200,2400,V.32
  4115.                                 FAX: 503-621-3735
  4116.                  CompuServe:70007,2304  GEnie:CAF   BIX:cforsberg
  4117.  
  4118.  
  4119.  
  4120.  
  4121.  
  4122.  
  4123.  
  4124.  
  4125.  
  4126.  
  4127.  
  4128.  
  4129.  
  4130.  
  4131.